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

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.task.AbstractBuildTask
      extended by com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask
All Implemented Interfaces:
AgentBuildTask, BuildTask, java.util.concurrent.Callable<BuildContext>

public class PrepareBuildTask
extends AbstractBuildTask
implements AgentBuildTask

Task to clear logs, initialize the build and perform custom pre-build actions


Field Summary
 
Fields inherited from class com.atlassian.bamboo.v2.build.task.AbstractBuildTask
buildContext
 
Constructor Summary
PrepareBuildTask()
           
 
Method Summary
 BuildContext call()
          Execute the build task.
 void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
           
 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
 

Constructor Detail

PrepareBuildTask

public PrepareBuildTask()
Method Detail

call

@NotNull
public BuildContext call()
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>

setPluginAccessor

public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)

setErrorUpdateHandler

public void setErrorUpdateHandler(ErrorUpdateHandler errorUpdateHandler)

setBuildLoggerManager

public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.