com.atlassian.bamboo.build.fileserver
Interface BuildDirectoryManager

All Known Implementing Classes:
DefaultBuildDirectoryManager, RemoteBuildDirectoryManager

public interface BuildDirectoryManager

Interface to retrieve various build locations


Method Summary
 java.lang.String getAgentPathPrefix(ExecutableBuildAgent buildAgent)
           
 java.io.File getApplicationHome()
          Returns application's/agent's home directory.
 java.io.File getBaseBuildWorkingDirectory()
           
 java.io.File getBuildWorkingDirectory()
          Deprecated. since 3.0 please use $getWorkingDirectoryOfCurrentAgent()
 java.io.File getBuildWorkingDirectory(PlanKey planKey)
           
 java.io.File getBuildWorkingDirectory(java.lang.String planKey)
          Deprecated. since 3.0 please use $getBuildWorkingDirectory(PlanKey)
 java.io.File getWorkingDirectoryOfCurrentAgent()
           
 

Method Detail

getBuildWorkingDirectory

@Deprecated
java.io.File getBuildWorkingDirectory(java.lang.String planKey)
Deprecated. since 3.0 please use $getBuildWorkingDirectory(PlanKey)

Parameters:
planKey -
Returns:

getBuildWorkingDirectory

java.io.File getBuildWorkingDirectory(PlanKey planKey)

getBuildWorkingDirectory

@Deprecated
@Nullable
java.io.File getBuildWorkingDirectory()
Deprecated. since 3.0 please use $getWorkingDirectoryOfCurrentAgent()


getWorkingDirectoryOfCurrentAgent

@Nullable
java.io.File getWorkingDirectoryOfCurrentAgent()

getApplicationHome

java.io.File getApplicationHome()
Returns application's/agent's home directory.

Returns:
Application's/agent's home directory

getBaseBuildWorkingDirectory

java.io.File getBaseBuildWorkingDirectory()

getAgentPathPrefix

java.lang.String getAgentPathPrefix(ExecutableBuildAgent buildAgent)


Copyright © 2011 Atlassian. All Rights Reserved.