com.atlassian.bamboo.builder
Interface PostConfigurableBuilder

All Superinterfaces:
BambooPluginModule, Builder, BuilderV2, ConfigurablePlugin, InitablePluginModule, java.io.Serializable
All Known Implementing Classes:
Maven2Builder

public interface PostConfigurableBuilder
extends Builder


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.builder.Builder
CAPABILITY_BUILDER_PREFIX, CAPABILITY_BUILDER_TYPE
 
Method Summary
 void performPostConfiguration(java.lang.String selectedBuilder, BuildConfiguration builderConfiguration, Plan plan)
          Preform any post actions that might need to occur after you save the builder configuration.
 
Methods inherited from interface com.atlassian.bamboo.builder.Builder
addDefaultLabelPathMaps, customiseLabelTypeMap, getBuildJdk, getCompleteKey, getFullParams, getKey, getLabel, getName, getPath, getPathHelp, hasTests, isLabelPathMapConfigurable, isPathValid, setBuildJdk, setLabel, setParams, validate
 
Methods inherited from interface com.atlassian.bamboo.v2.build.BuilderV2
executeBuild, hasPassed, populateBuildErrors
 
Methods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin
addDefaultValues, customizeBuildRequirements, getEditHtml, getViewHtml, prepareConfigObject, removeBuildRequirements, validate
 
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
init
 

Method Detail

performPostConfiguration

void performPostConfiguration(java.lang.String selectedBuilder,
                              BuildConfiguration builderConfiguration,
                              Plan plan)
Preform any post actions that might need to occur after you save the builder configuration. This will get run on all builders regardless of which one is actually selected. Example usage is to clean up unused data if you are not the selected builder or add extra info if you are the selected builder.

Parameters:
selectedBuilder - - the key of the builder currently selected (may or may not be you)
builderConfiguration - - for the current build
plan - - that is being configured


Copyright © 2010 Atlassian. All Rights Reserved.