com.atlassian.bamboo.fileserver
Class SystemDirectory

java.lang.Object
  extended by com.atlassian.bamboo.fileserver.SystemDirectory

public class SystemDirectory
extends java.lang.Object

This class provides key system directory info


Field Summary
static java.lang.String DOWNLOAD_DIRECTORY
           
 
Method Summary
static java.io.File getApplicationHome()
           
static java.io.File getBuildArtifactDirectory(java.lang.String buildKey)
           
static java.io.File getBuildDataDirectory()
           
static java.io.File getBuildDataDirectory(java.lang.String buildKey)
          Provide a specific builds data directory
static java.io.File getBuildDownloadDataDirectory(java.lang.String buildKey)
          Build a specific build's download data directory.
static java.io.File getBuildLogsDirectory(java.lang.String buildKey)
           
static java.io.File getBuildResultsDirectory(java.lang.String buildKey)
           
static java.io.File getBuildWorkingDirectory()
           
static java.io.File getBuildWorkingDirectory(java.lang.String buildKey)
           
static java.io.File getConfigDirectory()
           
static java.io.File getPluginCacheDirectory()
           
static java.io.File getPluginDirectory()
           
static java.io.File getResultArtifactDirectory(PlanKey planKey, long buildNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOWNLOAD_DIRECTORY

public static final java.lang.String DOWNLOAD_DIRECTORY
See Also:
Constant Field Values
Method Detail

getBuildDownloadDataDirectory

public static java.io.File getBuildDownloadDataDirectory(java.lang.String buildKey)
Build a specific build's download data directory.

Parameters:
buildKey - The build's unique key
Returns:
The build's download directory

getBuildDataDirectory

public static java.io.File getBuildDataDirectory(java.lang.String buildKey)
Provide a specific builds data directory

Parameters:
buildKey - The build's unique key
Returns:
The build's root data directory

getBuildDataDirectory

public static java.io.File getBuildDataDirectory()

getApplicationHome

public static java.io.File getApplicationHome()

getConfigDirectory

public static java.io.File getConfigDirectory()

getPluginDirectory

public static java.io.File getPluginDirectory()

getPluginCacheDirectory

public static java.io.File getPluginCacheDirectory()

getBuildResultsDirectory

public static java.io.File getBuildResultsDirectory(java.lang.String buildKey)

getBuildWorkingDirectory

public static java.io.File getBuildWorkingDirectory()

getBuildWorkingDirectory

public static java.io.File getBuildWorkingDirectory(java.lang.String buildKey)

getBuildArtifactDirectory

public static java.io.File getBuildArtifactDirectory(java.lang.String buildKey)

getResultArtifactDirectory

public static java.io.File getResultArtifactDirectory(PlanKey planKey,
                                                      long buildNumber)

getBuildLogsDirectory

public static java.io.File getBuildLogsDirectory(java.lang.String buildKey)


Copyright © 2010 Atlassian. All Rights Reserved.