com.atlassian.bamboo.v2.build.agent.remote
Class RemoteBuildDirectoryManager

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.remote.RemoteBuildDirectoryManager
All Implemented Interfaces:
BuildDirectoryManager

public class RemoteBuildDirectoryManager
extends java.lang.Object
implements BuildDirectoryManager


Field Summary
static java.lang.String BUILD_WORKING_DIRECTORY_KEY
           
static java.lang.String DEFAULT_BUILD_WORKING_DIRECTORY
           
 
Constructor Summary
RemoteBuildDirectoryManager()
           
 
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()
           
 java.io.File getBuildWorkingDirectory(PlanKey planKey)
           
 java.io.File getBuildWorkingDirectory(java.lang.String planKey)
           
 java.io.File getWorkingDirectoryOfCurrentAgent()
           
 void setAgentConfiguration(AgentConfiguration agentConfiguration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUILD_WORKING_DIRECTORY_KEY

public static final java.lang.String BUILD_WORKING_DIRECTORY_KEY
See Also:
Constant Field Values

DEFAULT_BUILD_WORKING_DIRECTORY

public static final java.lang.String DEFAULT_BUILD_WORKING_DIRECTORY
Constructor Detail

RemoteBuildDirectoryManager

public RemoteBuildDirectoryManager()
Method Detail

getWorkingDirectoryOfCurrentAgent

public java.io.File getWorkingDirectoryOfCurrentAgent()
Specified by:
getWorkingDirectoryOfCurrentAgent in interface BuildDirectoryManager

getBuildWorkingDirectory

public java.io.File getBuildWorkingDirectory()
Specified by:
getBuildWorkingDirectory in interface BuildDirectoryManager

getBaseBuildWorkingDirectory

public java.io.File getBaseBuildWorkingDirectory()
Specified by:
getBaseBuildWorkingDirectory in interface BuildDirectoryManager

getBuildWorkingDirectory

public java.io.File getBuildWorkingDirectory(java.lang.String planKey)
Specified by:
getBuildWorkingDirectory in interface BuildDirectoryManager
Returns:

getBuildWorkingDirectory

public java.io.File getBuildWorkingDirectory(PlanKey planKey)
Specified by:
getBuildWorkingDirectory in interface BuildDirectoryManager

getApplicationHome

public java.io.File getApplicationHome()
Description copied from interface: BuildDirectoryManager
Returns application's/agent's home directory.

Specified by:
getApplicationHome in interface BuildDirectoryManager
Returns:
Application's/agent's home directory

getAgentPathPrefix

public java.lang.String getAgentPathPrefix(ExecutableBuildAgent buildAgent)
Specified by:
getAgentPathPrefix in interface BuildDirectoryManager

setAgentConfiguration

public void setAgentConfiguration(AgentConfiguration agentConfiguration)


Copyright © 2011 Atlassian. All Rights Reserved.