|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.fileserver.SystemDirectory
public class SystemDirectory
This class provides key system directory info
Field Summary | |
---|---|
static java.lang.String |
BUILD_NUMBER_PREFIX
|
static java.lang.String |
DOWNLOAD_DIRECTORY
|
static java.lang.String |
LOG_FILENAME
|
static java.lang.String |
LOGS_DIRECTORY
|
Method Summary | |
---|---|
static java.io.File |
getApplicationHome()
|
static java.io.File |
getArtifactDestinationDirectory(PlanKey planKey,
java.lang.String version,
ArtifactDefinitionContext artifact)
|
static java.io.File |
getArtifactDestinationDirectory(PlanResultKey planResultKey,
ArtifactDefinitionContext artifact)
|
static java.io.File |
getArtifactDirectory(Plan plan)
|
static java.io.File |
getArtifactDirectory(Plan plan,
int buildNumber)
|
static java.io.File |
getArtifactDirectory(PlanKey planKey)
|
static java.io.File |
getArtifactDirectory(PlanResultKey planResultKey)
|
static java.lang.String |
getArtifactPathSuffix(PlanResultKey planResultKey,
ArtifactDefinitionContext artifact)
|
static java.io.File |
getArtifactRootStorageDirectory()
|
static java.io.File |
getBaseBuildWorkingDirectory()
This method returns the root directory underneath which the build directories or agent directories are located. |
static java.io.File |
getBuildDataDirectory()
|
static java.io.File |
getBuildDataDirectory(PlanKey planKey)
|
static java.io.File |
getBuildDataDirectory(java.lang.String buildKey)
Provide a specific builds data directory |
static java.lang.String |
getBuildDirectoryName(int buildNumber)
|
static java.io.File |
getBuildDownloadDataDirectory(PlanKey planKey)
Build a specific plan's download data directory. |
static java.io.File |
getBuildDownloadDataDirectory(java.lang.String buildKey)
Build a specific build's download data directory. |
static java.io.File |
getBuildLogsDirectory(PlanKey planKey)
|
static java.io.File |
getBuildLogsDirectory(java.lang.String buildKey)
|
static java.io.File |
getBuildResultsDirectory(java.lang.String buildKey)
|
static java.io.File |
getCacheDirectory()
|
static java.io.File |
getConfigDirectory()
|
static java.io.File |
getLogFile()
|
static java.lang.String |
getLogRelativePath()
|
static java.io.File |
getPluginCacheDirectory()
|
static java.io.File |
getPluginDirectory()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DOWNLOAD_DIRECTORY
public static final java.lang.String BUILD_NUMBER_PREFIX
public static final java.lang.String LOGS_DIRECTORY
public static final java.lang.String LOG_FILENAME
Method Detail |
---|
public static java.io.File getBuildDownloadDataDirectory(java.lang.String buildKey)
buildKey
- The build's unique key
public static java.io.File getBuildDownloadDataDirectory(PlanKey planKey)
planKey
- The plan's unique key
public static java.io.File getBuildDataDirectory(java.lang.String buildKey)
buildKey
- The build's unique key
public static java.io.File getBuildDataDirectory(PlanKey planKey)
public static java.io.File getBuildDataDirectory()
public static java.io.File getApplicationHome()
public static java.io.File getConfigDirectory()
public static java.lang.String getLogRelativePath()
public static java.io.File getLogFile()
public static java.io.File getPluginDirectory()
public static java.io.File getCacheDirectory()
public static java.io.File getPluginCacheDirectory()
public static java.io.File getBuildResultsDirectory(java.lang.String buildKey)
public static java.io.File getBaseBuildWorkingDirectory()
public static java.lang.String getBuildDirectoryName(int buildNumber)
public static java.io.File getBuildLogsDirectory(java.lang.String buildKey)
public static java.io.File getBuildLogsDirectory(PlanKey planKey)
public static java.io.File getArtifactRootStorageDirectory()
public static java.io.File getArtifactDirectory(PlanKey planKey)
public static java.io.File getArtifactDirectory(Plan plan)
public static java.io.File getArtifactDirectory(Plan plan, int buildNumber)
public static java.io.File getArtifactDirectory(PlanResultKey planResultKey)
public static java.io.File getArtifactDestinationDirectory(PlanResultKey planResultKey, @Nullable ArtifactDefinitionContext artifact)
public static java.io.File getArtifactDestinationDirectory(PlanKey planKey, java.lang.String version, @Nullable ArtifactDefinitionContext artifact)
public static java.lang.String getArtifactPathSuffix(PlanResultKey planResultKey, @Nullable ArtifactDefinitionContext artifact)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |