com.atlassian.bamboo.build.pipeline.tasks
Class ExecuteBuildTask

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.task.AbstractBuildTask
      extended by 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


Field Summary
static java.lang.String BUILD_WORKING_DIRECTORY
           
 
Fields inherited from class com.atlassian.bamboo.v2.build.task.AbstractBuildTask
buildContext
 
Constructor Summary
ExecuteBuildTask()
           
 
Method Summary
 BuildContext call()
          Execute the build task.
 void init(BuildContext buildContext, ReadOnlyCapabilitySet capabilitySet)
           
 void setBuildExecutionUpdateManager(BuildExecutionUpdateManager buildExecutionUpdateManager)
           
 void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
           
 void setChainExecutionUpdateManager(ChainExecutionUpdateManager chainExecutionUpdateManager)
           
 void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
           
 void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Methods inherited from class com.atlassian.bamboo.v2.build.task.AbstractBuildTask
init
 
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
 

Field Detail

BUILD_WORKING_DIRECTORY

public static final java.lang.String BUILD_WORKING_DIRECTORY
See Also:
Constant Field Values
Constructor Detail

ExecuteBuildTask

public ExecuteBuildTask()
Method Detail

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)

setChainExecutionUpdateManager

public void setChainExecutionUpdateManager(ChainExecutionUpdateManager chainExecutionUpdateManager)


Copyright © 2010 Atlassian. All Rights Reserved.