com.atlassian.bamboo.v2.build.task
Class CheckoutUpdateForBuild

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

public class CheckoutUpdateForBuild
extends AbstractBuildTask
implements AgentBuildTask, InterruptibleBuildTask

A task that updates the build to the latest version to be run


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

CheckoutUpdateForBuild

public CheckoutUpdateForBuild()
Method Detail

call

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

setBuildLoggerManager

public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)

setBuildExecutionUpdateManager

public void setBuildExecutionUpdateManager(BuildExecutionUpdateManager buildExecutionUpdateManager)

setChainExecutionUpdateManager

public void setChainExecutionUpdateManager(ChainExecutionUpdateManager chainExecutionUpdateManager)


Copyright © 2011 Atlassian. All Rights Reserved.