|
||||||||||
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.labels.AutoLabelBuildCompleteAction
public class AutoLabelBuildCompleteAction
Field Summary | |
---|---|
static java.lang.String |
AUTO_LABEL_KEY
|
Fields inherited from class com.atlassian.bamboo.v2.build.BaseConfigurablePlugin |
---|
moduleDescriptor, templateRenderer |
Constructor Summary | |
---|---|
AutoLabelBuildCompleteAction()
|
Method Summary | |
---|---|
LabelManager |
getLabelManager()
|
void |
run(Build build,
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 |
---|
addDefaultValues, customizeBuildRequirements, getEditHtml, getViewHtml, init, populateContextForEdit, populateContextForView, prepareConfigObject, setTemplateRenderer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String AUTO_LABEL_KEY
Constructor Detail |
---|
public AutoLabelBuildCompleteAction()
Method Detail |
---|
public void run(@NotNull Build build, @NotNull BuildResults buildResult)
CustomBuildCompleteAction
run
in interface CustomBuildCompleteAction
build
- - the Build
plan objectbuildResult
- - the BuildResults
object that holds information@NotNull public ErrorCollection validate(@NotNull BuildConfiguration config)
ConfigurablePlugin
BuildConfiguration
object. The name of the properties match those passed
in through the form fragments in #getEditHtml()
template.
validate
in interface ConfigurablePlugin
validate
in class BaseConfigurablePlugin
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 |