|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConfigurablePlugin
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) |
void |
customizeBuildRequirements(BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
Extension point for adding/customizing requirements when editing a build's builder configuration. |
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 |
void |
removeBuildRequirements(BuildConfiguration buildConfiguration,
RequirementSet requirementSet)
Extension point for removing requirements when given plugin is excluded from build's builder configuration. |
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. @NotNullvoid customizeBuildRequirements(@NotNull BuildConfiguration buildConfiguration, @NotNull RequirementSet requirementSet)
buildConfiguration
- source of information for customizing build requirementsrequirementSet
- requirements to be customizedvoid removeBuildRequirements(@NotNull BuildConfiguration buildConfiguration, @NotNull RequirementSet requirementSet)
buildConfiguration
- source of information for customizing build requirementsrequirementSet
- requirements to be customized@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, @NotNull Plan plan)
buildConfiguration
- BuildConfiguration
for which edit HTML has to be rendered.build
- Build
for which edit HTML has to be rendered.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |