Class ArtifactPathBuilderFactoryImpl
java.lang.Object
com.atlassian.bamboo.storage.location.ArtifactPathBuilderFactoryImpl
- All Implemented Interfaces:
ArtifactPathBuilderFactory
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateArtifactDirectoryBuilder
(File rootArtifactDirectory) createArtifactDirectoryBuilderForTemporaryStorage
(@NotNull File rootArtifactDirectory) createArtifactPathBuilder
(char separatorChar) createArtifactPathBuilder
(String rootArtifactPath, char separatorChar) This method will only work on the server, not on remote agentsstatic @NotNull File
getRootArtifactDirectory
(BootstrapManager bootstrapManager) Only used by some internal code during the boot process, before the StorageLocationService is available.
-
Constructor Details
-
ArtifactPathBuilderFactoryImpl
public ArtifactPathBuilderFactoryImpl()
-
-
Method Details
-
createArtifactPathBuilder
- Specified by:
createArtifactPathBuilder
in interfaceArtifactPathBuilderFactory
-
createArtifactPathBuilder
- Specified by:
createArtifactPathBuilder
in interfaceArtifactPathBuilderFactory
-
createArtifactDirectoryBuilder
- Specified by:
createArtifactDirectoryBuilder
in interfaceArtifactPathBuilderFactory
-
createArtifactDirectoryBuilderForTemporaryStorage
public ArtifactDirectoryBuilder createArtifactDirectoryBuilderForTemporaryStorage(@NotNull @NotNull File rootArtifactDirectory) - Specified by:
createArtifactDirectoryBuilderForTemporaryStorage
in interfaceArtifactPathBuilderFactory
- Returns:
- artifact directory builder intended to be used by temporary artifact storage on remote agents.
-
createDefaultArtifactDirectoryBuilder
This method will only work on the server, not on remote agents- Specified by:
createDefaultArtifactDirectoryBuilder
in interfaceArtifactPathBuilderFactory
-
getRootArtifactDirectory
@Internal @NotNull public static @NotNull File getRootArtifactDirectory(BootstrapManager bootstrapManager) Only used by some internal code during the boot process, before the StorageLocationService is available.
-