com.atlassian.bamboo.v2.build.agent.remote
Class RemoteBuildDirectoryManager
java.lang.Object
com.atlassian.bamboo.v2.build.agent.remote.RemoteBuildDirectoryManager
- All Implemented Interfaces:
- BuildDirectoryManager
public class RemoteBuildDirectoryManager
- extends java.lang.Object
- implements BuildDirectoryManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
RemoteBuildDirectoryManager
public RemoteBuildDirectoryManager()
getWorkingDirectoryOfCurrentAgent
public java.io.File getWorkingDirectoryOfCurrentAgent()
- Specified by:
getWorkingDirectoryOfCurrentAgent
in interface BuildDirectoryManager
getBaseBuildWorkingDirectory
public java.io.File getBaseBuildWorkingDirectory()
- Specified by:
getBaseBuildWorkingDirectory
in interface BuildDirectoryManager
getBuildWorkingDirectory
@NotNull
public java.io.File getBuildWorkingDirectory(@NotNull
Key key)
- Description copied from interface:
BuildDirectoryManager
- Returns the working directory for the plan.
- 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)
getServerSideTaskWorkingDirectory
@NotNull
public java.io.File getServerSideTaskWorkingDirectory(@NotNull
ResultKey resultKey)
- Description copied from interface:
BuildDirectoryManager
- Returns the directory used by server-side tasks, e.g. pre/post build merge & commit
- Specified by:
getServerSideTaskWorkingDirectory
in interface BuildDirectoryManager
Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.