com.atlassian.bamboo.build.pipeline.tasks
Class ExecuteBuildTask
java.lang.Object
com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask
- All Implemented Interfaces:
- BuildPhase, InterruptibleBuildPhase
public class ExecuteBuildTask
- extends Object
- implements InterruptibleBuildPhase, BuildPhase
Constructor Summary |
ExecuteBuildTask()
Cannot use constructor injection due to how we create this component in DefaultBuildAgent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecuteBuildTask
public ExecuteBuildTask()
- Cannot use constructor injection due to how we create this component in DefaultBuildAgent
call
@NotNull
public CommonContext call(@NotNull
CommonContext commonContext,
@NotNull
ReadOnlyCapabilitySet capabilitySet)
throws Exception
- Description copied from interface:
BuildPhase
Execute the build task.
Implementations should regularly check if the calling Thread
has been interrupted.
- Specified by:
call
in interface BuildPhase
- Returns:
-
- Throws:
InterruptedException
- if the calling Thread
has been interrupted.
Exception
- A general exception that will be handled.
setBuildLoggerManager
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
setExecutionPhaseService
public void setExecutionPhaseService(ExecutionPhaseService executionPhaseService)
setErrorUpdateHandler
public void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
setTaskExecutor
public void setTaskExecutor(TaskExecutor taskExecutor)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.