Package com.atlassian.bamboo.fileserver
Class SystemDirectory
- java.lang.Object
-
- com.atlassian.bamboo.fileserver.SystemDirectory
-
public class SystemDirectory extends Object
This class provides key system directory info
-
-
Field Summary
Fields Modifier and Type Field Description static String
LOGS_DIRECTORY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static File
getAgentStateDirectory()
static File
getApplicationHome()
static File
getBambooLogsDirectory()
static File
getBaseBuildWorkingDirectory()
This method returns the root directory underneath which the build directories or agent directories are located.static File
getCacheDirectory()
static File
getClusterInfoDirectory()
static File
getConfigDirectory()
static File
getConfigurationExportsDirectory()
static File
getLocalHome()
static String
getLogRelativePath(@NotNull String file)
static File
getPluginCacheDirectory()
static File
getPluginDirectory()
static File
getServerStateDirectory()
static File
getSharedHome()
-
-
-
Field Detail
-
LOGS_DIRECTORY
public static final String LOGS_DIRECTORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getApplicationHome
public static File getApplicationHome()
-
getLocalHome
public static File getLocalHome()
-
getSharedHome
public static File getSharedHome()
-
getConfigDirectory
public static File getConfigDirectory()
-
getBambooLogsDirectory
public static File getBambooLogsDirectory()
-
getPluginDirectory
public static File getPluginDirectory()
-
getCacheDirectory
public static File getCacheDirectory()
-
getServerStateDirectory
public static File getServerStateDirectory()
-
getClusterInfoDirectory
public static File getClusterInfoDirectory()
-
getConfigurationExportsDirectory
public static File getConfigurationExportsDirectory()
-
getAgentStateDirectory
public static File getAgentStateDirectory()
-
getPluginCacheDirectory
public static File getPluginCacheDirectory()
-
getBaseBuildWorkingDirectory
public static File getBaseBuildWorkingDirectory()
This method returns the root directory underneath which the build directories or agent directories are located. The structure below this directory is not documented - you most likely do not want to use this method, consider using DefaultBuildDirectoryManager methods instead.
-
-