public interface BuildConfigurationAwarePlugin<T extends com.atlassian.plugin.ModuleDescriptor> extends InitablePluginModule<T>, RenderableBuildConfiguration
Modifier and Type | Method and Description |
---|---|
void |
addDefaultValues(BuildConfiguration buildConfiguration)
Extension point for adding default values to the form for
RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan) |
default boolean |
isConfigurationMissing(org.apache.commons.configuration.HierarchicalConfiguration configuration)
Checks if HierarchicalConfiguration objects contains plugin's configuration values.
|
void |
prepareConfigObject(BuildConfiguration buildConfiguration)
Do any preprocessing work before validation occurs.
|
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Validates the properties in the
BuildConfiguration object. |
init
getEditHtml, getViewHtml
void addDefaultValues(@NotNull BuildConfiguration buildConfiguration)
RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
buildConfiguration
- -void prepareConfigObject(@NotNull BuildConfiguration buildConfiguration)
buildConfiguration
- -@NotNull ErrorCollection validate(@NotNull BuildConfiguration buildConfiguration)
BuildConfiguration
object. The name of the properties match those passed
in through the form fragments in RenderableBuildConfiguration.getEditHtml(com.atlassian.bamboo.ww2.actions.build.admin.create.BuildConfiguration, com.atlassian.bamboo.plan.Plan)
template.buildConfiguration
- -ErrorCollection
keyed by the field name.default boolean isConfigurationMissing(@NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration)
configuration
- HierarchicalConfiguration objectCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.