Class RemoteBuildDirectoryManager
java.lang.Object
com.atlassian.bamboo.v2.build.agent.remote.RemoteBuildDirectoryManager
- All Implemented Interfaces:
BuildDirectoryManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.build.fileserver.BuildDirectoryManager
BuildDirectoryManager.ServerSideTaskType
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAgentPathPrefix
(ExecutableBuildAgent buildAgent) Returns application's/agent's home directory.@Nullable File
@NotNull File
getBuildWorkingDirectory
(@NotNull Key key) Returns the working directory for the plan.@NotNull Path
getServerSideTaskWorkingDirectory
(@NotNull BuildDirectoryManager.ServerSideTaskType taskType) Returns the directory used by server-side tasks of specific type.@NotNull File
getServerSideTaskWorkingDirectory
(@NotNull ResultKey resultKey) Returns the directory used by server-side tasks, e.g.@Nullable File
void
setAgentConfiguration
(AgentConfiguration agentConfiguration)
-
Field Details
-
BUILD_WORKING_DIRECTORY_KEY
- See Also:
-
DEFAULT_BUILD_WORKING_DIRECTORY
-
-
Constructor Details
-
RemoteBuildDirectoryManager
public RemoteBuildDirectoryManager()
-
-
Method Details
-
getWorkingDirectoryOfCurrentAgent
- Specified by:
getWorkingDirectoryOfCurrentAgent
in interfaceBuildDirectoryManager
-
getBaseBuildWorkingDirectory
- Specified by:
getBaseBuildWorkingDirectory
in interfaceBuildDirectoryManager
-
getBuildWorkingDirectory
Description copied from interface:BuildDirectoryManager
Returns the working directory for the plan.- Specified by:
getBuildWorkingDirectory
in interfaceBuildDirectoryManager
- Returns:
-
getApplicationHome
Description copied from interface:BuildDirectoryManager
Returns application's/agent's home directory.- Specified by:
getApplicationHome
in interfaceBuildDirectoryManager
- Returns:
- Application's/agent's home directory
-
getAgentPathPrefix
- Specified by:
getAgentPathPrefix
in interfaceBuildDirectoryManager
-
setAgentConfiguration
-
getServerSideTaskWorkingDirectory
@NotNull public @NotNull File getServerSideTaskWorkingDirectory(@NotNull @NotNull ResultKey resultKey) Description copied from interface:BuildDirectoryManager
Returns the directory used by server-side tasks, e.g. pre/post build merge and commit- Specified by:
getServerSideTaskWorkingDirectory
in interfaceBuildDirectoryManager
- Returns:
-
getServerSideTaskWorkingDirectory
@NotNull public @NotNull Path getServerSideTaskWorkingDirectory(@NotNull @NotNull BuildDirectoryManager.ServerSideTaskType taskType) Description copied from interface:BuildDirectoryManager
Returns the directory used by server-side tasks of specific type.- Specified by:
getServerSideTaskWorkingDirectory
in interfaceBuildDirectoryManager
- Returns:
-