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 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 String BUILD_WORKING_DIRECTORY_KEY
- See Also:
- Constant Field Values
DEFAULT_BUILD_WORKING_DIRECTORY
public static final String DEFAULT_BUILD_WORKING_DIRECTORY
RemoteBuildDirectoryManager
public RemoteBuildDirectoryManager()
getWorkingDirectoryOfCurrentAgent
@Nullable
public File getWorkingDirectoryOfCurrentAgent()
- Specified by:
getWorkingDirectoryOfCurrentAgent
in interface BuildDirectoryManager
getBaseBuildWorkingDirectory
@Nullable
public File getBaseBuildWorkingDirectory()
- Specified by:
getBaseBuildWorkingDirectory
in interface BuildDirectoryManager
getBuildWorkingDirectory
@NotNull
public 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 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 String getAgentPathPrefix(ExecutableBuildAgent buildAgent)
- Specified by:
getAgentPathPrefix
in interface BuildDirectoryManager
setAgentConfiguration
public void setAgentConfiguration(AgentConfiguration agentConfiguration)
getServerSideTaskWorkingDirectory
@NotNull
public 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 © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.