|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.v2.build.BaseConfigurablePlugin com.atlassian.bamboo.v2.build.BaseConfigurableBuildPlugin com.atlassian.bamboo.builder.coverage.CloverBuildProcessor
public class CloverBuildProcessor
Field Summary | |
---|---|
static java.lang.String |
CLOVER_BUILD_COVERAGE
|
static java.lang.String |
CLOVER_COVERAGE_DELTA
|
static java.lang.String |
CLOVER_EXISTS
|
static java.lang.String |
CLOVER_HAS_GLOBAL_LICENSE
|
static java.lang.String |
CLOVER_HAS_VALID_GLOBAL_LICENSE
|
static java.lang.String |
CLOVER_HISTORICAL
|
static java.lang.String |
CLOVER_INTEGRATION
The key for the integration types. |
static java.lang.String |
CLOVER_INTEGRATION_AUTO
|
static java.lang.String |
CLOVER_INTEGRATION_CUSTOM
|
static java.lang.String |
CLOVER_JSON
|
static java.lang.String |
CLOVER_LICENSE
The contents of the user's clover.license |
static java.lang.String |
CLOVER_LICENSE_USE_LOCAL_LICENSE_KEY
|
static java.lang.String |
CLOVER_NCLOC
|
static java.lang.String |
CLOVER_OPTIMIZE
|
static java.lang.String |
CLOVER_REPORT_ARTIFACT_LABEL
|
static java.lang.String |
CLOVER_REPORT_ARTIFACT_PREFIX
|
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 | |
---|---|
void |
addDefaultValues(BuildConfiguration buildConfiguration)
Extension point for adding default values to the form for ConfigurablePlugin.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan) |
BuildContext |
call()
Execute the build task. |
void |
customizeBuildRequirements(BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
Extension point for adding/customizing requirements when editing a build's builder configuration. |
protected void |
populateContextForEdit(java.util.Map<java.lang.String,java.lang.Object> context,
BuildConfiguration buildConfiguration,
Plan build)
|
protected void |
populateContextForView(java.util.Map<java.lang.String,java.lang.Object> context,
Plan build)
|
void |
removeBuildRequirements(BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
Extension point for removing requirements when given plugin is excluded from build's builder configuration. |
void |
setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
|
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 |
---|
getEditHtml, getViewHtml, init, 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 |
---|
public static final java.lang.String CLOVER_EXISTS
public static final java.lang.String CLOVER_INTEGRATION
public static final java.lang.String CLOVER_INTEGRATION_CUSTOM
public static final java.lang.String CLOVER_INTEGRATION_AUTO
public static final java.lang.String CLOVER_LICENSE
public static final java.lang.String CLOVER_LICENSE_USE_LOCAL_LICENSE_KEY
public static final java.lang.String CLOVER_JSON
public static final java.lang.String CLOVER_HISTORICAL
public static final java.lang.String CLOVER_OPTIMIZE
public static final java.lang.String CLOVER_BUILD_COVERAGE
public static final java.lang.String CLOVER_COVERAGE_DELTA
public static final java.lang.String CLOVER_NCLOC
public static final java.lang.String CLOVER_REPORT_ARTIFACT_PREFIX
public static final java.lang.String CLOVER_REPORT_ARTIFACT_LABEL
public static final java.lang.String CLOVER_HAS_GLOBAL_LICENSE
public static final java.lang.String CLOVER_HAS_VALID_GLOBAL_LICENSE
Constructor Detail |
---|
public CloverBuildProcessor()
Method Detail |
---|
@NotNull public BuildContext call() throws java.lang.Exception
BuildTask
Execute the build task.
Implementations should regularly check if the calling Thread
has been interrupted.
call
in interface BuildTask
call
in interface java.util.concurrent.Callable<BuildContext>
java.lang.InterruptedException
- if the calling Thread
has been interrupted.
java.lang.Exception
- A general exception that will be handled.public void addDefaultValues(@NotNull BuildConfiguration buildConfiguration)
ConfigurablePlugin
ConfigurablePlugin.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
addDefaultValues
in interface ConfigurablePlugin
addDefaultValues
in class BaseConfigurablePlugin
buildConfiguration
- - @NotNullpublic void customizeBuildRequirements(@NotNull BuildConfiguration buildConfiguration, @NotNull RequirementSet requirementSet)
ConfigurablePlugin
customizeBuildRequirements
in interface ConfigurablePlugin
customizeBuildRequirements
in class BaseConfigurablePlugin
buildConfiguration
- source of information for customizing build requirementsrequirementSet
- requirements to be customizedpublic void removeBuildRequirements(@NotNull BuildConfiguration buildConfiguration, @NotNull RequirementSet requirementSet)
ConfigurablePlugin
removeBuildRequirements
in interface ConfigurablePlugin
removeBuildRequirements
in class BaseConfigurablePlugin
buildConfiguration
- source of information for customizing build requirementsrequirementSet
- requirements to be customized@NotNull public ErrorCollection validate(@NotNull BuildConfiguration configuration)
ConfigurablePlugin
BuildConfiguration
object. The name of the properties match those passed
in through the form fragments in ConfigurablePlugin.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
template.
validate
in interface ConfigurablePlugin
validate
in class BaseConfigurablePlugin
configuration
- - @NotNull
ErrorCollection
keyed by the field name. @NotNullprotected void populateContextForView(@NotNull java.util.Map<java.lang.String,java.lang.Object> context, @NotNull Plan build)
populateContextForView
in class BaseConfigurablePlugin
protected void populateContextForEdit(@NotNull java.util.Map<java.lang.String,java.lang.Object> context, @NotNull BuildConfiguration buildConfiguration, @NotNull Plan build)
populateContextForEdit
in class BaseConfigurablePlugin
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |