public interface ImportExportAwarePlugin<T extends com.atlassian.bamboo.specs.api.builders.plan.configuration.PluginConfiguration,P extends com.atlassian.bamboo.specs.api.model.plan.configuration.PluginConfigurationProperties> extends BuildConfigurationAwarePlugin
Modifier and Type | Method and Description |
---|---|
void |
addToBuildConfiguration(P specsProperties,
org.apache.commons.configuration.HierarchicalConfiguration buildConfiguration)
Validate and add data from specs properties to passed build configuration.
|
Set<String> |
getConfigurationKeys()
Return all property keys related to this plugin module which may exist in a plan's
BuildConfiguration . |
T |
toSpecsEntity(org.apache.commons.configuration.HierarchicalConfiguration buildConfiguration)
Export configuration of this plugin to Bamboo Specs entity.
|
addDefaultValues, isConfigurationMissing, prepareConfigObject, validate
init
getEditHtml, getViewHtml
@NotNull Set<String> getConfigurationKeys()
BuildConfiguration
.
The returned set may be immutable. If a plugin module doesn't have configuration, then an empty set should be returned.
@NotNull T toSpecsEntity(@NotNull org.apache.commons.configuration.HierarchicalConfiguration buildConfiguration)
void addToBuildConfiguration(@NotNull P specsProperties, @NotNull org.apache.commons.configuration.HierarchicalConfiguration buildConfiguration)
specsProperties
- buildConfiguration
- Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.