com.atlassian.bamboo.fileserver
Class ArtifactPaths
java.lang.Object
com.atlassian.bamboo.fileserver.ArtifactPaths
public class ArtifactPaths
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHARED_ARTIFACTS_DIR
public static final String SHARED_ARTIFACTS_DIR
- See Also:
- Constant Field Values
GLOBAL_STORAGE_DIR
public static final String GLOBAL_STORAGE_DIR
- See Also:
- Constant Field Values
ArtifactPaths
public ArtifactPaths(@NotNull
File rootStorageDirectory)
ArtifactPaths
public ArtifactPaths(@Nullable
String rootStorageDirectory,
char separatorChar)
getRootStorageDirectory
public String getRootStorageDirectory()
getTmpStorageDirectory
public String getTmpStorageDirectory()
getArtifactDestinationDirectory
@NotNull
public String getArtifactDestinationDirectory(PlanResultKey planResultKey,
ImmutableArtifactDefinitionBase artifact)
getArtifactDestinationDirectory
@NotNull
public String getArtifactDestinationDirectory(PlanKey planKey,
String version,
@Nullable
ImmutableArtifactDefinitionBase artifact)
getArtifactDestinationDirectory
public String getArtifactDestinationDirectory(Artifact artifact)
getArtifactPathSuffix
public static String getArtifactPathSuffix(Artifact artifact)
getArtifactPathSuffix
public static String getArtifactPathSuffix(Artifact artifact,
char separatorChar)
getArtifactPathSuffix
public static String getArtifactPathSuffix(PlanResultKey planResultKey,
@Nullable
ImmutableArtifactDefinitionBase artifact)
- _CHAIN_KEY_ / _JOB_KEY_|"shared" / _BUILD_NUMBER_ (/ artifact-name)
getArtifactPathSuffix
public static String getArtifactPathSuffix(PlanResultKey planResultKey,
@Nullable
ImmutableArtifactDefinitionBase artifact,
char separatorChar)
- _CHAIN_KEY_ / _JOB_KEY_|"shared" / _BUILD_NUMBER_ (/ artifact-name)
getArtifactRootDirectory
public String getArtifactRootDirectory(PlanKey planKey)
getArtifactDirectory
public String getArtifactDirectory(PlanKey planKey)
getArtifactDirectory
public String getArtifactDirectory(PlanKey planKey,
int buildNumber)
getArtifactDirectory
public String getArtifactDirectory(PlanResultKey planResultKey)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.