|
||||||||||
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_LOGS_DIRECTORY
|
static java.lang.String |
BUILD_NUMBER_PREFIX
|
static java.lang.String |
BUILDRESULTS_FILENAME
|
static java.lang.String |
CACHE_SUB_DIR
|
static java.lang.String |
DOWNLOAD_DIRECTORY
|
static java.lang.String |
GLOBAL_STORAGE
|
static java.lang.String |
LOG_FILENAME
|
static java.lang.String |
LOGS_DIRECTORY
|
static java.lang.String |
PLUGINS_SUB_DIR
|
static java.lang.String |
SERVER_STATE_SUB_DIR
|
Method Summary | |
---|---|
static java.io.File |
getApplicationHome()
|
static java.io.File |
getArtifactDestinationDirectory(PlanKey planKey,
java.lang.String version,
ArtifactDefinitionContext artifact)
Deprecated. since 4.2 use an appropriate method on $ SystemDirectory.getArtifactStorage() |
static java.io.File |
getArtifactDestinationDirectory(PlanResultKey planResultKey,
ArtifactDefinitionContext artifact)
Deprecated. since 4.2 use an appropriate method on $ SystemDirectory.getArtifactStorage() |
static java.io.File |
getArtifactDirectory(Plan plan)
Deprecated. since 4.2 use an appropriate method on $ SystemDirectory.getArtifactStorage() |
static java.io.File |
getArtifactDirectory(Plan plan,
int buildNumber)
Deprecated. since 4.2 use an appropriate method on $ SystemDirectory.getArtifactStorage() |
static java.io.File |
getArtifactDirectory(PlanKey planKey)
Deprecated. since 4.2 use an appropriate method on $ SystemDirectory.getArtifactStorage() |
static java.io.File |
getArtifactDirectory(PlanResultKey planResultKey)
Deprecated. since 4.2 use an appropriate method on $ SystemDirectory.getArtifactStorage() |
static java.lang.String |
getArtifactPathSuffix(PlanResultKey planResultKey,
ArtifactDefinitionContext artifact)
Deprecated. since 4.2 use an appropriate method on $ SystemDirectory.getArtifactStorage() |
static java.io.File |
getArtifactRootStorageDirectory()
Deprecated. since 4.2 use an appropriate method on $ SystemDirectory.getArtifactStorage() |
static ArtifactStorage |
getArtifactStorage()
|
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(Key key)
|
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(Key key)
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(Key key)
|
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()
|
static java.io.File |
getServerStateDirectory()
|
static void |
setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager)
|
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_LOGS_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
public static final java.lang.String GLOBAL_STORAGE
public static final java.lang.String BUILDRESULTS_FILENAME
public static final java.lang.String PLUGINS_SUB_DIR
public static final java.lang.String CACHE_SUB_DIR
public static final java.lang.String SERVER_STATE_SUB_DIR
Method Detail |
---|
public static java.io.File getBuildDownloadDataDirectory(java.lang.String buildKey)
buildKey
- The build's unique key
public static java.io.File getBuildDownloadDataDirectory(Key key)
key
- The plan's or environments unique key
public static java.io.File getBuildDataDirectory(java.lang.String buildKey)
buildKey
- The build's unique key
public static java.io.File getBuildDataDirectory(Key key)
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 getServerStateDirectory()
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(Key key)
@NotNull public static ArtifactStorage getArtifactStorage()
@Deprecated public static java.io.File getArtifactRootStorageDirectory()
SystemDirectory.getArtifactStorage()
@Deprecated public static java.io.File getArtifactDirectory(PlanKey planKey)
SystemDirectory.getArtifactStorage()
@Deprecated public static java.io.File getArtifactDirectory(Plan plan)
SystemDirectory.getArtifactStorage()
@Deprecated public static java.io.File getArtifactDirectory(Plan plan, int buildNumber)
SystemDirectory.getArtifactStorage()
@Deprecated public static java.io.File getArtifactDirectory(PlanResultKey planResultKey)
SystemDirectory.getArtifactStorage()
@Deprecated public static java.io.File getArtifactDestinationDirectory(PlanResultKey planResultKey, @Nullable ArtifactDefinitionContext artifact)
SystemDirectory.getArtifactStorage()
@Deprecated public static java.io.File getArtifactDestinationDirectory(PlanKey planKey, java.lang.String version, @Nullable ArtifactDefinitionContext artifact)
SystemDirectory.getArtifactStorage()
@Deprecated public static java.lang.String getArtifactPathSuffix(PlanResultKey planResultKey, @Nullable ArtifactDefinitionContext artifact)
SystemDirectory.getArtifactStorage()
public static void setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |