@Internal public class InitializeBuild extends Object implements BuildPhase, InterruptibleBuildPhase
Constructor and Description |
---|
InitializeBuild()
Cannot use constructor injection due to how we create this component in DefaultBuildAgent
|
Modifier and Type | Method and Description |
---|---|
CommonContext |
call(CommonContext commonContext,
ReadOnlyCapabilitySet capabilitySet)
Execute the build task.
|
void |
setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager) |
void |
setBuildLoggerManager(BuildLoggerManager buildLoggerManager) |
void |
setExecutionPhaseService(ExecutionPhaseService executionPhaseService) |
void |
setVcsRepositoryManager(VcsRepositoryManager vcsRepositoryManager) |
public InitializeBuild()
@NotNull public CommonContext call(@NotNull CommonContext commonContext, @NotNull ReadOnlyCapabilitySet capabilitySet) throws RepositoryException, RepositoryDefinitionException
BuildPhase
Execute the build task.
Implementations should regularly check if the calling Thread
has been interrupted.
call
in interface BuildPhase
RepositoryException
RepositoryDefinitionException
public void setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager)
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
public void setExecutionPhaseService(ExecutionPhaseService executionPhaseService)
public void setVcsRepositoryManager(VcsRepositoryManager vcsRepositoryManager)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.