com.atlassian.bamboo.labels
Class AutoLabelBuildCompleteAction

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
      extended by com.atlassian.bamboo.labels.AutoLabelBuildCompleteAction
All Implemented Interfaces:
CustomBuildCompleteAction, BambooPluginModule, ConfigurablePlugin

public class AutoLabelBuildCompleteAction
extends BaseConfigurablePlugin
implements CustomBuildCompleteAction


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

AUTO_LABEL_KEY

public static final java.lang.String AUTO_LABEL_KEY
See Also:
Constant Field Values
Constructor Detail

AutoLabelBuildCompleteAction

public AutoLabelBuildCompleteAction()
Method Detail

run

public void run(@NotNull
                Build build,
                @NotNull
                BuildResults buildResult)
Description copied from interface: CustomBuildCompleteAction
This action will run when a build completes.

Specified by:
run in interface CustomBuildCompleteAction
Parameters:
build - - the Build plan object
buildResult - - the BuildResults object that holds information

validate

@NotNull
public ErrorCollection validate(@NotNull
                                        BuildConfiguration config)
Description copied from interface: ConfigurablePlugin
Validates the properties in the BuildConfiguration object. The name of the properties match those passed in through the form fragments in #getEditHtml() template.

Specified by:
validate in interface ConfigurablePlugin
Overrides:
validate in class BaseConfigurablePlugin
Parameters:
config - - @NotNull
Returns:
ErrorCollection keyed by the field name. @NotNull

getLabelManager

public LabelManager getLabelManager()

setLabelManager

public void setLabelManager(LabelManager labelManager)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.