|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.creation.BuilderConfigHelper
public class BuilderConfigHelper
Constructor Summary | |
---|---|
BuilderConfigHelper(BuilderManager builderManager,
com.opensymphony.xwork.TextProvider textProvider)
|
Method Summary | |
---|---|
void |
addDefaultsToConfig(BuildConfiguration buildConfiguration)
Adds default values for all possible selections, esp preparing for display on the UI |
void |
addNewRequirementForBuilder(BuildConfiguration buildConfiguration,
java.lang.String selectedLabel,
Builder selectedBuilder,
RequirementSet requirementSet)
|
void |
cleanConfig(BuildConfiguration buildConfiguration)
Cleans out any data from the build config, not required by the selected option. |
void |
performPostActionsOnConfig(BuildConfiguration buildConfiguration,
Plan plan)
Performs any miscellaneous actions required before saving the plan. |
void |
prepareConfig(BuildConfiguration buildConfiguration)
Prepare the build configuration for validation. |
void |
validateConfig(com.opensymphony.xwork.ValidationAware validationAware,
BuildConfiguration buildConfiguration)
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 |
---|
public BuilderConfigHelper(BuilderManager builderManager, com.opensymphony.xwork.TextProvider textProvider)
Method Detail |
---|
public void addDefaultsToConfig(@NotNull BuildConfiguration buildConfiguration)
PlanConfigHelper
addDefaultsToConfig
in interface PlanConfigHelper
buildConfiguration
- - to add defaults topublic void validateConfig(@NotNull com.opensymphony.xwork.ValidationAware validationAware, @NotNull BuildConfiguration buildConfiguration)
PlanConfigHelper
validateConfig
in interface PlanConfigHelper
validationAware
- - normally the action calling thisbuildConfiguration
- - the configuration to validatepublic void prepareConfig(@NotNull BuildConfiguration buildConfiguration)
PlanConfigHelper
prepareConfig
in interface PlanConfigHelper
buildConfiguration
- to manipulatepublic void cleanConfig(@NotNull BuildConfiguration buildConfiguration)
PlanConfigHelper
cleanConfig
in interface PlanConfigHelper
buildConfiguration
- - to cleanpublic void performPostActionsOnConfig(@NotNull BuildConfiguration buildConfiguration, @NotNull Plan plan)
PlanConfigHelper
performPostActionsOnConfig
in interface PlanConfigHelper
buildConfiguration
- - of the current configurationplan
- - the current planpublic void addNewRequirementForBuilder(@NotNull BuildConfiguration buildConfiguration, @NotNull java.lang.String selectedLabel, @NotNull Builder selectedBuilder, @NotNull RequirementSet requirementSet)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |