public class BuildMonitoringPerPlanPlugin extends BaseConfigurablePlugin implements CustomBuildProcessorServer
moduleDescriptor, templateRenderer| Constructor and Description |
|---|
BuildMonitoringPerPlanPlugin() |
| Modifier and Type | Method and Description |
|---|---|
BuildContext |
call()
Execute the build task.
|
Set<String> |
getConfigurationKeys() |
void |
init(BuildContext buildContext) |
boolean |
isConfigurationMissing(org.apache.commons.configuration.HierarchicalConfiguration configuration)
Checks if HierarchicalConfiguration objects contains plugin's configuration values.
|
protected void |
populateContextForView(Map<String,Object> context,
Plan plan) |
void |
setTextProvider(com.opensymphony.xwork2.TextProvider textProvider) |
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Validates the properties in the
BuildConfiguration object. |
customizeBuildRequirements, removeBuildRequirementsaddDefaultValues, getEditHtml, getViewHtml, init, populateContextForEdit, prepareConfigObject, setTemplateRendererclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDefaultValues, prepareConfigObjectinitgetEditHtml, getViewHtml@NotNull public ErrorCollection validate(@NotNull BuildConfiguration buildConfiguration)
BuildConfigurationAwarePluginBuildConfiguration 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 BuildConfigurationAwarePluginvalidate in class BaseBuildConfigurationAwarePluginbuildConfiguration - -ErrorCollection keyed by the field name.protected void populateContextForView(@NotNull
Map<String,Object> context,
@NotNull
Plan plan)
populateContextForView in class BaseBuildConfigurationAwarePluginpublic void init(@NotNull
BuildContext buildContext)
@NotNull public BuildContext call() throws Exception
BuildTaskExecute the build task.
Implementations should regularly check if the calling Thread has been interrupted.
call in interface BuildTaskcall in interface Callable<BuildContext>InterruptedException - if the calling Thread has been interrupted.Exception - A general exception that will be handled.public boolean isConfigurationMissing(@NotNull
org.apache.commons.configuration.HierarchicalConfiguration configuration)
BuildConfigurationAwarePluginisConfigurationMissing in interface BuildConfigurationAwarePluginconfiguration - HierarchicalConfiguration objectpublic void setTextProvider(com.opensymphony.xwork2.TextProvider textProvider)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.