|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
com.atlassian.bamboo.labels.AutoLabelBuildCompleteAction
public class AutoLabelBuildCompleteAction
Field Summary | |
---|---|
static java.lang.String |
AUTO_LABEL_KEY
|
Fields inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin |
---|
moduleDescriptor, templateRenderer |
Constructor Summary | |
---|---|
AutoLabelBuildCompleteAction()
|
Method Summary | |
---|---|
LabelManager |
getLabelManager()
|
void |
run(Buildable buildable,
BuildResults buildResult)
This action will run when a build completes. |
void |
setLabelManager(LabelManager labelManager)
|
ErrorCollection |
validate(BuildConfiguration config)
Validates the properties in the BuildConfiguration object. |
Methods inherited from class com.atlassian.bamboo.v2.build.BaseConfigurablePlugin |
---|
customizeBuildRequirements, removeBuildRequirements |
Methods inherited from class com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin |
---|
addDefaultValues, getEditHtml, getViewHtml, init, isConfigurationMissing, populateContextForEdit, populateContextForView, prepareConfigObject, setTemplateRenderer |
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.BuildConfigurationAwarePlugin |
---|
addDefaultValues, getEditHtml, getViewHtml, prepareConfigObject |
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule |
---|
init |
Field Detail |
---|
public static final java.lang.String AUTO_LABEL_KEY
Constructor Detail |
---|
public AutoLabelBuildCompleteAction()
Method Detail |
---|
public void run(@NotNull Buildable buildable, @NotNull BuildResults buildResult)
CustomBuildCompleteAction
run
in interface CustomBuildCompleteAction
buildable
- - the Buildable
plan objectbuildResult
- - the BuildResults
object that holds information@NotNull public ErrorCollection validate(@NotNull BuildConfiguration config)
BuildConfigurationAwarePlugin
BuildConfiguration
object. The name of the properties match those passed
in through the form fragments in BuildConfigurationAwarePlugin.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
template.
validate
in interface BuildConfigurationAwarePlugin
validate
in class BaseBuildConfigurationAwarePlugin
config
- - @NotNull
ErrorCollection
keyed by the field name. @NotNullpublic LabelManager getLabelManager()
public void setLabelManager(LabelManager labelManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |