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.
|
void |
init(BuildContext buildContext) |
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, removeBuildRequirements
addDefaultValues, getEditHtml, getViewHtml, init, isConfigurationMissing, populateContextForEdit, prepareConfigObject, setTemplateRenderer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDefaultValues, prepareConfigObject
init
getEditHtml, getViewHtml
@NotNull public ErrorCollection validate(@NotNull BuildConfiguration buildConfiguration)
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
buildConfiguration
- -ErrorCollection
keyed by the field name.protected void populateContextForView(@NotNull Map<String,Object> context, @NotNull Plan plan)
populateContextForView
in class BaseBuildConfigurationAwarePlugin
public void init(@NotNull BuildContext buildContext)
@NotNull public BuildContext call() throws InterruptedException, 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 setTextProvider(com.opensymphony.xwork2.TextProvider textProvider)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.