public interface CustomEnvironmentConfigPluginExporter
Modifier and Type | Method and Description |
---|---|
default <T extends com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration<P>,P extends com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties> |
fromYaml(@NotNull Node node)
Deprecated.
since 8.1. Use
fromYaml(String, Node) . |
default <T extends com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration<P>,P extends com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties> |
fromYaml(@NotNull String key,
@NotNull Node node)
Read configuration from YAML
Node . |
@NotNull Map<String,String> |
toConfiguration(@NotNull com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties configurationProperties) |
@NotNull com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration |
toSpecsEntity(@NotNull Map<String,String> configuration) |
default <T extends com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration<P>,P extends com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties> |
toYaml(P specsProperties)
Convert configuration of this plugin from Bamboo Specs to YAML structure.
|
@NotNull List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> |
validate(@NotNull TaskValidationContext validationContext,
@NotNull com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties configurationProperties)
Validates plugin configuration in context of enclosing deployment properties.
|
@NotNull @NotNull com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration toSpecsEntity(@NotNull @NotNull Map<String,String> configuration)
@NotNull @NotNull Map<String,String> toConfiguration(@NotNull @NotNull com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties configurationProperties)
@NotNull @NotNull List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validate(@NotNull @NotNull TaskValidationContext validationContext, @NotNull @NotNull com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties configurationProperties)
Should check RSS permissions if necessary.
@Nullable @Deprecated default <T extends com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration<P>,P extends com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties> T fromYaml(@NotNull @NotNull Node node) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
fromYaml(String, Node)
.Node
. node
is map containing all plugins configuration map.node
- yaml nodecom.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
- if configuration is wrong.@Nullable default <T extends com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration<P>,P extends com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties> T fromYaml(@NotNull @NotNull String key, @NotNull @NotNull Node node) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
Node
.key
- plugin key or plugin keyword.node
- yaml nodecom.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
- if configuration is wrong.@Nullable default <T extends com.atlassian.bamboo.specs.api.builders.deployment.configuration.EnvironmentPluginConfiguration<P>,P extends com.atlassian.bamboo.specs.api.model.deployment.configuration.EnvironmentPluginConfigurationProperties> @Nullable Node toYaml(@NotNull P specsProperties)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.