com.atlassian.bamboo.build.monitoring
Class BuildMonitoringPerPlanPlugin
java.lang.Object
com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
com.atlassian.bamboo.build.monitoring.BuildMonitoringPerPlanPlugin
- All Implemented Interfaces:
- CustomBuildProcessorServer, InitablePluginModule, BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, RenderableBuildConfiguration, BuildTask, java.util.concurrent.Callable<BuildContext>
public class BuildMonitoringPerPlanPlugin
- extends BaseConfigurablePlugin
- implements CustomBuildProcessorServer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuildMonitoringPerPlanPlugin
public BuildMonitoringPerPlanPlugin()
validate
@NotNull
public ErrorCollection validate(@NotNull
BuildConfiguration buildConfiguration)
- 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 RenderableBuildConfiguration.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:
buildConfiguration
- - @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 plan)
- Overrides:
populateContextForView
in class BaseBuildConfigurationAwarePlugin
init
public void init(@NotNull
BuildContext buildContext)
- Specified by:
init
in interface BuildTask
call
@NotNull
public BuildContext call()
throws java.lang.InterruptedException,
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.
setTextProvider
public void setTextProvider(com.opensymphony.xwork.TextProvider textProvider)
Copyright © 2012 Atlassian. All Rights Reserved.