public class CloverBuildProcessor extends BaseConfigurableBuildPlugin implements CustomBuildProcessor
buildContext
moduleDescriptor, templateRenderer
Constructor and Description |
---|
CloverBuildProcessor() |
init, setTemplateRenderer
removeBuildRequirements
getEditHtml, getViewHtml, init, prepareConfigObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isConfigurationMissing, prepareConfigObject
init
getEditHtml, getViewHtml
public static final String CLOVER_EXISTS
public static final String CLOVER_INTEGRATION
public static final String CLOVER_INTEGRATION_CUSTOM
public static final String CLOVER_INTEGRATION_AUTO
public static final String CLOVER_LICENSE
public static final String CLOVER_LICENSE_USE_LOCAL_LICENSE_KEY
public static final String CLOVER_JSON
public static final String CLOVER_HISTORICAL
public static final String CLOVER_OPTIMIZE
public static final String CLOVER_BUILD_COVERAGE
public static final String CLOVER_COVERAGE_DELTA
public static final String CLOVER_ELEMENTS
public static final String CLOVER_COVERED_ELEMENTS
public static final String CLOVER_PACKAGES
public static final String CLOVER_CONDITIONALS
public static final String CLOVER_COVERED_CONDITIONALS
public static final String CLOVER_LOC
public static final String CLOVER_NCLOC
public static final String CLOVER_STATEMENTS
public static final String CLOVER_COVERED_STATEMENTS
public static final String CLOVER_FILES
public static final String CLOVER_METHODS
public static final String CLOVER_COVERED_METHODS
public static final String CLOVER_CLASSES
public static final String CLOVER_REPORT_ARTIFACT_PREFIX
public static final String CLOVER_REPORT_ARTIFACT_LABEL
public static final String CLOVER_HAS_GLOBAL_LICENSE
public static final String CLOVER_HAS_VALID_GLOBAL_LICENSE
public static final String CLOVER_HAS_LOCAL_LICENSE
@NotNull public BuildContext call() throws Exception
BuildTask
Execute the build task.
Implementations should regularly check if the calling Thread
has been interrupted.
call
in interface BuildTask
call
in interface Callable<BuildContext>
InterruptedException
- if the calling Thread
has been interrupted.Exception
- A general exception that will be handled.public void addDefaultValues(@NotNull BuildConfiguration buildConfiguration)
BuildConfigurationAwarePlugin
RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
addDefaultValues
in interface BuildConfigurationAwarePlugin
addDefaultValues
in class BaseBuildConfigurationAwarePlugin
buildConfiguration
- -public void customizeBuildRequirements(@NotNull PlanKey planKey, @NotNull BuildConfiguration buildConfiguration, @NotNull RequirementSet requirementSet)
customizeBuildRequirements
in interface ConfigurablePlugin
customizeBuildRequirements
in class BaseConfigurablePlugin
planKey
- key of Plan
for which requirements has to be removed.buildConfiguration
- source of information for customizing build requirementsrequirementSet
- requirements to be customized@NotNull public ErrorCollection validate(@NotNull BuildConfiguration configuration)
BuildConfigurationAwarePlugin
BuildConfiguration
object. The name of the properties match those passed
in through the form fragments in RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
template.validate
in interface BuildConfigurationAwarePlugin
validate
in class BaseBuildConfigurationAwarePlugin
configuration
- -ErrorCollection
keyed by the field name.protected void populateContextForView(@NotNull Map<String,Object> context, @NotNull Plan build)
populateContextForView
in class BaseBuildConfigurationAwarePlugin
protected void populateContextForEdit(@NotNull Map<String,Object> context, @NotNull BuildConfiguration buildConfiguration, @Nullable Plan plan)
populateContextForEdit
in class BaseBuildConfigurationAwarePlugin
public void setArtifactDefinitionManager(ArtifactDefinitionManager artifactDefinitionManager)
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
public void setPlanManager(PlanManager planManager)
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.