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


Field Summary
static java.lang.String GRAILS_CLOVER_PLUGIN_VERSION_VARIABLE
           
static java.lang.String GRAILS_TASK_KEY
           
static java.lang.String INSTALL_DEFAULT_CLOVER_PLUGIN
           
static java.lang.String INSTALL_SPECIFIC_CLOVER_PLUGIN_VERSION
           
 
Constructor Summary
CloverGrailsPreBuildAction(CustomVariableContext customVariableContext)
           
 
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 Plan 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
 

Field Detail

INSTALL_DEFAULT_CLOVER_PLUGIN

public static final java.lang.String INSTALL_DEFAULT_CLOVER_PLUGIN
See Also:
Constant Field Values

INSTALL_SPECIFIC_CLOVER_PLUGIN_VERSION

public static final java.lang.String INSTALL_SPECIFIC_CLOVER_PLUGIN_VERSION
See Also:
Constant Field Values

GRAILS_TASK_KEY

public static final java.lang.String GRAILS_TASK_KEY
See Also:
Constant Field Values

GRAILS_CLOVER_PLUGIN_VERSION_VARIABLE

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

CloverGrailsPreBuildAction

public CloverGrailsPreBuildAction(CustomVariableContext customVariableContext)
Method Detail

validate

public ErrorCollection validate(BuildConfiguration config)
Description copied from interface: CustomPreBuildAction
Validate the build configuration when trying to save configuration for the Plan 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.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 © 2012 Atlassian. All Rights Reserved.