com.atlassian.bamboo.build.creation
Class BuilderConfigHelper

java.lang.Object
  extended by com.atlassian.bamboo.build.creation.BuilderConfigHelper
All Implemented Interfaces:
PlanConfigHelper

Deprecated. Since 3.1. Use tasks instead

@Deprecated
public class BuilderConfigHelper
extends java.lang.Object
implements PlanConfigHelper


Constructor Summary
BuilderConfigHelper(BuilderManager builderManager, com.opensymphony.xwork.TextProvider textProvider)
          Deprecated.  
 
Method Summary
 void addDefaultsToConfig(BuildConfiguration buildConfiguration)
          Deprecated. Adds default values for all possible selections, esp preparing for display on the UI
 void addNewRequirementForBuilder(PlanKey planKey, BuildConfiguration buildConfiguration, java.lang.String selectedLabel, Builder selectedBuilder, RequirementSet requirementSet)
          Deprecated.  
 void cleanConfig(BuildConfiguration buildConfiguration)
          Deprecated. Cleans out any data from the build config, not required by the selected option.
 void performPostActionsOnConfig(BuildConfiguration buildConfiguration, Plan plan)
          Deprecated. Performs any miscellaneous actions required before saving the plan.
 void prepareConfig(BuildConfiguration buildConfiguration)
          Deprecated. Prepare the build configuration for validation.
 void validateConfig(com.opensymphony.xwork.ValidationAware validationAware, BuildConfiguration buildConfiguration)
          Deprecated. Validates the configuration for a plan.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuilderConfigHelper

public BuilderConfigHelper(BuilderManager builderManager,
                           com.opensymphony.xwork.TextProvider textProvider)
Deprecated. 
Method Detail

addDefaultsToConfig

public void addDefaultsToConfig(@NotNull
                                BuildConfiguration buildConfiguration)
Deprecated. 
Description copied from interface: PlanConfigHelper
Adds default values for all possible selections, esp preparing for display on the UI

Specified by:
addDefaultsToConfig in interface PlanConfigHelper
Parameters:
buildConfiguration - - to add defaults to

validateConfig

public void validateConfig(@NotNull
                           com.opensymphony.xwork.ValidationAware validationAware,
                           @NotNull
                           BuildConfiguration buildConfiguration)
Deprecated. 
Description copied from interface: PlanConfigHelper
Validates the configuration for a plan. Adds any errors to the validationAware object

Specified by:
validateConfig in interface PlanConfigHelper
Parameters:
validationAware - - normally the action calling this
buildConfiguration - - the configuration to validate

prepareConfig

public void prepareConfig(@NotNull
                          BuildConfiguration buildConfiguration)
Deprecated. 
Description copied from interface: PlanConfigHelper
Prepare the build configuration for validation. Performs required manual manipulations on the build config.

Specified by:
prepareConfig in interface PlanConfigHelper
Parameters:
buildConfiguration - to manipulate

cleanConfig

public void cleanConfig(@NotNull
                        BuildConfiguration buildConfiguration)
Deprecated. 
Description copied from interface: PlanConfigHelper
Cleans out any data from the build config, not required by the selected option.

Specified by:
cleanConfig in interface PlanConfigHelper
Parameters:
buildConfiguration - - to clean

performPostActionsOnConfig

public void performPostActionsOnConfig(@NotNull
                                       BuildConfiguration buildConfiguration,
                                       @NotNull
                                       Plan plan)
Deprecated. 
Description copied from interface: PlanConfigHelper
Performs any miscellaneous actions required before saving the plan. Is aware of the currently selected option.

Specified by:
performPostActionsOnConfig in interface PlanConfigHelper
Parameters:
buildConfiguration - - of the current configuration
plan - - the current plan

addNewRequirementForBuilder

public void addNewRequirementForBuilder(@NotNull
                                        PlanKey planKey,
                                        @NotNull
                                        BuildConfiguration buildConfiguration,
                                        @NotNull
                                        java.lang.String selectedLabel,
                                        @NotNull
                                        Builder selectedBuilder,
                                        @NotNull
                                        RequirementSet requirementSet)
Deprecated. 


Copyright © 2011 Atlassian. All Rights Reserved.