public class DefaultBuildDirectoryManager extends Object implements BuildDirectoryManager
BuildDirectoryManager.ServerSideTaskType
Constructor and Description |
---|
DefaultBuildDirectoryManager() |
Modifier and Type | Method and Description |
---|---|
String |
getAgentPathPrefix(ExecutableBuildAgent buildAgent) |
File |
getApplicationHome()
Returns application's/agent's home directory.
|
File |
getBaseBuildWorkingDirectory() |
File |
getBuildWorkingDirectory(Key key)
Returns the working directory for the plan.
|
File |
getServerSideTaskWorkingDirectory() |
Path |
getServerSideTaskWorkingDirectory(BuildDirectoryManager.ServerSideTaskType taskType)
Returns the directory used by server-side tasks of specific type.
|
File |
getServerSideTaskWorkingDirectory(ResultKey resultKey)
Returns the directory used by server-side tasks, e.g.
|
File |
getWorkingDirectoryOfCurrentAgent() |
void |
setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor) |
void |
setAgentContext(AgentContext agentContext) |
@NotNull public File getBuildWorkingDirectory(@NotNull Key key)
BuildDirectoryManager
getBuildWorkingDirectory
in interface BuildDirectoryManager
@NotNull public File getWorkingDirectoryOfCurrentAgent()
getWorkingDirectoryOfCurrentAgent
in interface BuildDirectoryManager
public File getBaseBuildWorkingDirectory()
getBaseBuildWorkingDirectory
in interface BuildDirectoryManager
public File getApplicationHome()
BuildDirectoryManager
getApplicationHome
in interface BuildDirectoryManager
public String getAgentPathPrefix(ExecutableBuildAgent buildAgent)
getAgentPathPrefix
in interface BuildDirectoryManager
@NotNull public File getServerSideTaskWorkingDirectory(@NotNull ResultKey resultKey)
BuildDirectoryManager
getServerSideTaskWorkingDirectory
in interface BuildDirectoryManager
@NotNull public Path getServerSideTaskWorkingDirectory(@NotNull BuildDirectoryManager.ServerSideTaskType taskType)
BuildDirectoryManager
getServerSideTaskWorkingDirectory
in interface BuildDirectoryManager
taskType
- @return@NotNull public File getServerSideTaskWorkingDirectory()
public void setAdministrationConfigurationAccessor(AdministrationConfigurationAccessor administrationConfigurationAccessor)
public void setAgentContext(AgentContext agentContext)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.