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