com.atlassian.bamboo.build.pipeline.tasks
Class ExecuteBuildTask
java.lang.Object
com.atlassian.bamboo.v2.build.task.AbstractBuildTask
com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask
- All Implemented Interfaces:
- AgentBuildTask, BuildTask, CapabililitiesAwareBuildTask, InterruptibleBuildTask, java.util.concurrent.Callable<BuildContext>
public class ExecuteBuildTask
- extends AbstractBuildTask
- implements InterruptibleBuildTask, AgentBuildTask, CapabililitiesAwareBuildTask
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.v2.build.task.BuildTask |
init |
BUILD_WORKING_DIRECTORY
public static final java.lang.String BUILD_WORKING_DIRECTORY
- See Also:
- Constant Field Values
ExecuteBuildTask
public ExecuteBuildTask()
init
public void init(BuildContext buildContext,
@NotNull
ReadOnlyCapabilitySet capabilitySet)
- Specified by:
init
in interface CapabililitiesAwareBuildTask
call
@NotNull
public BuildContext call()
throws java.lang.Exception
- Description copied from interface:
BuildTask
Execute the build task.
Implementations should regularly check if the calling Thread
has been interrupted.
- Specified by:
call
in interface BuildTask
- Specified by:
call
in interface java.util.concurrent.Callable<BuildContext>
- Throws:
java.lang.InterruptedException
- if the calling Thread
has been interrupted.
java.lang.Exception
- A general exception that will be handled.
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
setErrorUpdateHandler
public void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
setBuildLoggerManager
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
setBuildExecutionUpdateManager
public void setBuildExecutionUpdateManager(BuildExecutionUpdateManager buildExecutionUpdateManager)
Copyright © 2010 Atlassian. All Rights Reserved.