|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildConfigurationAwarePlugin
Method Summary | |
---|---|
void |
addDefaultValues(BuildConfiguration buildConfiguration)
Extension point for adding default values to the form for getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan) |
java.lang.String |
getEditHtml(BuildConfiguration buildConfiguration,
Plan plan)
Returns HTML that represents the form fragment for editing the repository. |
java.lang.String |
getViewHtml(Plan plan)
Returns the HTML that represents the view of the repository configuration |
void |
prepareConfigObject(BuildConfiguration buildConfiguration)
Do any preprocessing work before validation occurs. |
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Validates the properties in the BuildConfiguration object. |
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule |
---|
init |
Method Detail |
---|
void addDefaultValues(@NotNull BuildConfiguration buildConfiguration)
getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
buildConfiguration
- - @NotNullvoid prepareConfigObject(@NotNull BuildConfiguration buildConfiguration)
buildConfiguration
- - @NotNull@NotNull ErrorCollection validate(@NotNull BuildConfiguration buildConfiguration)
BuildConfiguration
object. The name of the properties match those passed
in through the form fragments in getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
template.
buildConfiguration
- - @NotNull
ErrorCollection
keyed by the field name. @NotNull@Nullable java.lang.String getViewHtml(@NotNull Plan plan)
build
- Build
for which view HTML has to be rendered.plan
-
@Nullable java.lang.String getEditHtml(@NotNull BuildConfiguration buildConfiguration, @Nullable Plan plan)
buildConfiguration
- BuildConfiguration
for which edit HTML has to be rendered.plan
- Plan
for which edit HTML has to be rendered. May be null during creation phase of plan.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |