com.atlassian.bamboo.build
Class CloverGrailsPreBuildAction

java.lang.Object
  extended by com.atlassian.bamboo.build.CloverGrailsPreBuildAction
All Implemented Interfaces:
CustomPreBuildAction, BambooPluginModule, AgentBuildTask, BuildTask, java.util.concurrent.Callable<BuildContext>

public class CloverGrailsPreBuildAction
extends java.lang.Object
implements CustomPreBuildAction


Constructor Summary
CloverGrailsPreBuildAction()
           
 
Method Summary
 BuildContext call()
          Execute the build task.
 void init(BuildContext buildContext)
           
 ErrorCollection validate(BuildConfiguration config)
          Validate the build configuration when trying to save configuration for the Build This is used if the CustomPreBuildAction needs to have configuration stored against the build plan.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloverGrailsPreBuildAction

public CloverGrailsPreBuildAction()
Method Detail

validate

public ErrorCollection validate(BuildConfiguration config)
Description copied from interface: CustomPreBuildAction
Validate the build configuration when trying to save configuration for the Build This is used if the CustomPreBuildAction needs to have configuration stored against the build plan.

Specified by:
validate in interface CustomPreBuildAction
Returns:

init

public void init(@NotNull
                 BuildContext buildContext)
Specified by:
init in interface BuildTask

call

@NotNull
public BuildContext call()
                  throws java.lang.InterruptedException,
                         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.


Copyright © 2011 Atlassian. All Rights Reserved.