com.atlassian.bamboo.builder.coverage
Class CloverBuildProcessor

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
      extended by com.atlassian.bamboo.v2.build.BaseConfigurableBuildPlugin
          extended by com.atlassian.bamboo.builder.coverage.CloverBuildProcessor
All Implemented Interfaces:
CustomBuildProcessor, BambooPluginModule, ConfigurablePlugin, AgentBuildTask, BuildTask, java.util.concurrent.Callable<BuildContext>

public class CloverBuildProcessor
extends BaseConfigurableBuildPlugin
implements CustomBuildProcessor


Field Summary
static java.lang.String CLOVER_BUILD_COVERAGE
           
static java.lang.String CLOVER_COVERAGE_DELTA
           
static java.lang.String CLOVER_NCLOC
           
 
Fields inherited from class com.atlassian.bamboo.v2.build.BaseConfigurableBuildPlugin
buildContext
 
Fields inherited from class com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
moduleDescriptor, templateRenderer
 
Constructor Summary
CloverBuildProcessor()
           
 
Method Summary
 BuildContext call()
          Execute the build task.
 void setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager)
           
 ErrorCollection validate(BuildConfiguration configuration)
          Validates the properties in the BuildConfiguration object.
 
Methods inherited from class com.atlassian.bamboo.v2.build.BaseConfigurableBuildPlugin
init, setTemplateRenderer
 
Methods inherited from class com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
addDefaultValues, customizeBuildRequirements, getEditHtml, getViewHtml, init, populateContextForEdit, populateContextForView, prepareConfigObject
 
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
 

Field Detail

CLOVER_BUILD_COVERAGE

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

CLOVER_COVERAGE_DELTA

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

CLOVER_NCLOC

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

CloverBuildProcessor

public CloverBuildProcessor()
Method Detail

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.

validate

@NotNull
public ErrorCollection validate(@NotNull
                                        BuildConfiguration configuration)
Description copied from interface: ConfigurablePlugin
Validates the properties in the BuildConfiguration object. The name of the properties match those passed in through the form fragments in #getEditHtml() template.

Specified by:
validate in interface ConfigurablePlugin
Overrides:
validate in class BaseConfigurablePlugin
Parameters:
configuration - - @NotNull
Returns:
ErrorCollection keyed by the field name. @NotNull

setBuildDirectoryManager

public void setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.