|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlanConfigHelper
A generic interface to perform manipulations to the Plan Configuration (BuildConfiguration)
Method Summary | |
---|---|
void |
addDefaultsToConfig(BuildConfiguration buildConfiguration)
Adds default values for all possible selections, esp preparing for display on the UI |
void |
cleanConfig(BuildConfiguration buildConfiguration)
Cleans out any data from the build config, not required by the selected option. |
void |
performPostActionsOnConfig(BuildConfiguration buildConfiguration,
ImmutablePlan plan)
Performs any miscellaneous actions required before saving the plan. |
void |
prepareConfig(BuildConfiguration buildConfiguration)
Prepare the build configuration for validation. |
void |
validateConfig(com.atlassian.struts.ValidationAware validationAware,
BuildConfiguration buildConfiguration)
Validates the configuration for a plan. |
void |
validateConfig(com.opensymphony.xwork.ValidationAware validationAware,
BuildConfiguration buildConfiguration)
Deprecated. since 5.1 use validateConfig(com.atlassian.struts.ValidationAware, com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration) |
Method Detail |
---|
void addDefaultsToConfig(@NotNull BuildConfiguration buildConfiguration)
buildConfiguration
- - to add defaults tovoid validateConfig(@NotNull com.atlassian.struts.ValidationAware validationAware, @NotNull BuildConfiguration buildConfiguration)
validationAware
- - normally the action calling thisbuildConfiguration
- - the configuration to validate@Deprecated void validateConfig(@NotNull com.opensymphony.xwork.ValidationAware validationAware, @NotNull BuildConfiguration buildConfiguration)
validateConfig(com.atlassian.struts.ValidationAware, com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration)
validationAware
- - normally the action calling thisbuildConfiguration
- - the configuration to validatevoid prepareConfig(@NotNull BuildConfiguration buildConfiguration)
buildConfiguration
- to manipulatevoid cleanConfig(@NotNull BuildConfiguration buildConfiguration)
buildConfiguration
- - to cleanvoid performPostActionsOnConfig(@NotNull BuildConfiguration buildConfiguration, @NotNull ImmutablePlan plan)
buildConfiguration
- - of the current configurationplan
- - the current plan
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |