Class ArtifactPathBuilderFactoryImpl
- java.lang.Object
-
- com.atlassian.bamboo.storage.location.ArtifactPathBuilderFactoryImpl
-
- All Implemented Interfaces:
ArtifactPathBuilderFactory
public class ArtifactPathBuilderFactoryImpl extends Object implements ArtifactPathBuilderFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ArtifactPathBuilderFactoryImpl.ArtifactPathBuilderForTemporaryStorage
-
Constructor Summary
Constructors Constructor Description ArtifactPathBuilderFactoryImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ArtifactDirectoryBuilder
createArtifactDirectoryBuilder(File rootArtifactDirectory)
ArtifactDirectoryBuilder
createArtifactDirectoryBuilderForTemporaryStorage(@NotNull File rootArtifactDirectory)
ArtifactPathBuilder
createArtifactPathBuilder(char separatorChar)
ArtifactPathBuilder
createArtifactPathBuilder(String rootArtifactPath, char separatorChar)
ArtifactDirectoryBuilder
createDefaultArtifactDirectoryBuilder()
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.
-
-
-
Method Detail
-
createArtifactPathBuilder
public ArtifactPathBuilder createArtifactPathBuilder(String rootArtifactPath, char separatorChar)
- Specified by:
createArtifactPathBuilder
in interfaceArtifactPathBuilderFactory
-
createArtifactPathBuilder
public ArtifactPathBuilder createArtifactPathBuilder(char separatorChar)
- Specified by:
createArtifactPathBuilder
in interfaceArtifactPathBuilderFactory
-
createArtifactDirectoryBuilder
public ArtifactDirectoryBuilder createArtifactDirectoryBuilder(File rootArtifactDirectory)
- 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
public ArtifactDirectoryBuilder 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.
-
-