com.atlassian.bamboo.builder.coverage
Class CloverBuildProcessor
java.lang.Object
com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
com.atlassian.bamboo.v2.build.BaseConfigurableBuildPlugin
com.atlassian.bamboo.builder.coverage.CloverBuildProcessor
- All Implemented Interfaces:
- CustomBuildProcessor, InitablePluginModule, BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, AgentBuildTask, BuildTask, java.util.concurrent.Callable<BuildContext>
public class CloverBuildProcessor
- extends BaseConfigurableBuildPlugin
- implements CustomBuildProcessor
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 |
CLOVER_EXISTS
public static final java.lang.String CLOVER_EXISTS
- See Also:
- Constant Field Values
CLOVER_INTEGRATION
public static final java.lang.String CLOVER_INTEGRATION
- The key for the integration types. Either exists or auto.
- See Also:
- Constant Field Values
CLOVER_INTEGRATION_CUSTOM
public static final java.lang.String CLOVER_INTEGRATION_CUSTOM
- See Also:
- Constant Field Values
CLOVER_INTEGRATION_AUTO
public static final java.lang.String CLOVER_INTEGRATION_AUTO
- See Also:
- Constant Field Values
CLOVER_LICENSE
public static final java.lang.String CLOVER_LICENSE
- The contents of the user's clover.license
- See Also:
- Constant Field Values
CLOVER_LICENSE_USE_LOCAL_LICENSE_KEY
public static final java.lang.String CLOVER_LICENSE_USE_LOCAL_LICENSE_KEY
- See Also:
- Constant Field Values
CLOVER_JSON
public static final java.lang.String CLOVER_JSON
- See Also:
- Constant Field Values
CLOVER_HISTORICAL
public static final java.lang.String CLOVER_HISTORICAL
- See Also:
- Constant Field Values
CLOVER_OPTIMIZE
public static final java.lang.String CLOVER_OPTIMIZE
- See Also:
- Constant Field Values
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
CLOVER_REPORT_ARTIFACT_PREFIX
public static final java.lang.String CLOVER_REPORT_ARTIFACT_PREFIX
- See Also:
- Constant Field Values
CLOVER_REPORT_ARTIFACT_LABEL
public static final java.lang.String CLOVER_REPORT_ARTIFACT_LABEL
- See Also:
- Constant Field Values
CLOVER_HAS_GLOBAL_LICENSE
public static final java.lang.String CLOVER_HAS_GLOBAL_LICENSE
- See Also:
- Constant Field Values
CLOVER_HAS_VALID_GLOBAL_LICENSE
public static final java.lang.String CLOVER_HAS_VALID_GLOBAL_LICENSE
- See Also:
- Constant Field Values
CLOVER_HAS_LOCAL_LICENSE
public static final java.lang.String CLOVER_HAS_LOCAL_LICENSE
- See Also:
- Constant Field Values
CloverBuildProcessor
public CloverBuildProcessor()
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.
addDefaultValues
public void addDefaultValues(@NotNull
BuildConfiguration buildConfiguration)
- Description copied from interface:
BuildConfigurationAwarePlugin
- Extension point for adding default values to the form for
BuildConfigurationAwarePlugin.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
- Specified by:
addDefaultValues
in interface BuildConfigurationAwarePlugin
- Overrides:
addDefaultValues
in class BaseBuildConfigurationAwarePlugin
- Parameters:
buildConfiguration
- - @NotNull
customizeBuildRequirements
public void customizeBuildRequirements(@NotNull
BuildConfiguration buildConfiguration,
@NotNull
RequirementSet requirementSet)
- Description copied from interface:
ConfigurablePlugin
- Extension point for adding/customizing requirements when editing a build's builder configuration.
- Specified by:
customizeBuildRequirements
in interface ConfigurablePlugin
- Overrides:
customizeBuildRequirements
in class BaseConfigurablePlugin
- Parameters:
buildConfiguration
- source of information for customizing build requirementsrequirementSet
- requirements to be customized
removeBuildRequirements
public void removeBuildRequirements(@NotNull
BuildConfiguration buildConfiguration,
@NotNull
RequirementSet requirementSet)
- Description copied from interface:
ConfigurablePlugin
- Extension point for removing requirements when given plugin is excluded from build's builder configuration.
- Specified by:
removeBuildRequirements
in interface ConfigurablePlugin
- Overrides:
removeBuildRequirements
in class BaseConfigurablePlugin
- Parameters:
buildConfiguration
- source of information for customizing build requirementsrequirementSet
- requirements to be customized
validate
@NotNull
public ErrorCollection validate(@NotNull
BuildConfiguration configuration)
- Description copied from interface:
BuildConfigurationAwarePlugin
- Validates the properties in the
BuildConfiguration
object. The name of the properties match those passed
in through the form fragments in BuildConfigurationAwarePlugin.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
template.
- Specified by:
validate
in interface BuildConfigurationAwarePlugin
- Overrides:
validate
in class BaseBuildConfigurationAwarePlugin
- Parameters:
configuration
- - @NotNull
- Returns:
ErrorCollection
keyed by the field name. @NotNull
populateContextForView
protected void populateContextForView(@NotNull
java.util.Map<java.lang.String,java.lang.Object> context,
@NotNull
Plan build)
- Overrides:
populateContextForView
in class BaseBuildConfigurationAwarePlugin
populateContextForEdit
protected void populateContextForEdit(@NotNull
java.util.Map<java.lang.String,java.lang.Object> context,
@NotNull
BuildConfiguration buildConfiguration,
@NotNull
Plan build)
- Overrides:
populateContextForEdit
in class BaseBuildConfigurationAwarePlugin
setBandanaManager
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
Copyright © 2010 Atlassian. All Rights Reserved.