Class DefaultBuildDirectoryManager
java.lang.Object
com.atlassian.bamboo.build.fileserver.DefaultBuildDirectoryManager
- All Implemented Interfaces:
BuildDirectoryManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.bamboo.build.fileserver.BuildDirectoryManager
BuildDirectoryManager.ServerSideTaskType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAgentPathPrefix
(ExecutableBuildAgent buildAgent) Returns application's/agent's home directory.@NotNull File
getBuildWorkingDirectory
(@NotNull Key key) Returns the working directory for the plan.@NotNull File
@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.@NotNull File
void
setAdministrationConfigurationAccessor
(AdministrationConfigurationAccessor administrationConfigurationAccessor) void
setAgentContext
(AgentContext agentContext)
-
Constructor Details
-
DefaultBuildDirectoryManager
public DefaultBuildDirectoryManager()
-
-
Method Details
-
getBuildWorkingDirectory
Description copied from interface:BuildDirectoryManager
Returns the working directory for the plan.- Specified by:
getBuildWorkingDirectory
in interfaceBuildDirectoryManager
- Returns:
-
getWorkingDirectoryOfCurrentAgent
- Specified by:
getWorkingDirectoryOfCurrentAgent
in interfaceBuildDirectoryManager
-
getBaseBuildWorkingDirectory
- Specified by:
getBaseBuildWorkingDirectory
in interfaceBuildDirectoryManager
-
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
-
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:
-
getServerSideTaskWorkingDirectory
-
setAdministrationConfigurationAccessor
public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor) -
setAgentContext
-