public class PrepareBuildTask extends Object implements InterruptibleBuildPhase
Constructor and Description |
---|
PrepareBuildTask()
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 |
setArtifactManager(ArtifactManager artifactManager) |
void |
setBuildLoggerManager(BuildLoggerManager buildLoggerManager) |
void |
setCustomPreDeploymentActionManager(CustomPreDeploymentActionManager customPreDeploymentActionManager) |
void |
setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler) |
void |
setExecutionPhaseService(ExecutionPhaseService executionPhaseService) |
void |
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor) |
void |
setTaskExecutor(TaskExecutor taskExecutor) |
public PrepareBuildTask()
@NotNull public CommonContext call(@NotNull CommonContext commonContext, @NotNull ReadOnlyCapabilitySet capabilitySet)
BuildPhase
Execute the build task.
Implementations should regularly check if the calling Thread
has been interrupted.
call
in interface BuildPhase
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
public void setCustomPreDeploymentActionManager(CustomPreDeploymentActionManager customPreDeploymentActionManager)
public void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
public void setArtifactManager(ArtifactManager artifactManager)
public void setTaskExecutor(TaskExecutor taskExecutor)
public void setExecutionPhaseService(ExecutionPhaseService executionPhaseService)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.