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

java.lang.Object
  extended by com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask
All Implemented Interfaces:
BuildPhase, InterruptibleBuildPhase

public class ExecuteBuildTask
extends java.lang.Object
implements InterruptibleBuildPhase, BuildPhase


Constructor Summary
ExecuteBuildTask()
          Cannot use constructor injection due to how we create this component in DefaultBuildAgent
 
Method Summary
 CommonContext call(CommonContext commonContext, ReadOnlyCapabilitySet capabilitySet)
          Execute the build task.
 void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
           
 void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)
           
 void setExecutionPhaseService(ExecutionPhaseService executionPhaseService)
           
 void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 void setTaskExecutor(TaskExecutor taskExecutor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecuteBuildTask

public ExecuteBuildTask()
Cannot use constructor injection due to how we create this component in DefaultBuildAgent

Method Detail

call

@NotNull
public CommonContext call(@NotNull
                                  CommonContext commonContext,
                                  @NotNull
                                  ReadOnlyCapabilitySet capabilitySet)
                   throws java.lang.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:
java.lang.InterruptedException - if the calling Thread has been interrupted.
java.lang.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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.