public class PlansGreenConditionExporter extends Object implements BuildTriggerConditionExporter<com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties>
Modifier and Type | Field and Description |
---|---|
static String |
ENABLED |
static String |
PLANS |
Constructor and Description |
---|
PlansGreenConditionExporter(PlansGreenConditionValidator validator) |
Modifier and Type | Method and Description |
---|---|
@Nullable com.atlassian.bamboo.specs.builders.trigger.PlansGreenTriggerCondition |
fromYaml(@NotNull Node node) |
Set<String> |
getConfigurationKeys() |
@NotNull Map<String,String> |
toConfigurationMap(com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties properties) |
<T extends com.atlassian.bamboo.specs.api.builders.trigger.TriggerCondition<T,com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties>> |
toSpecsEntity(@NotNull Map<String,String> triggerConditionConfigurations)
Create Bamboo Specs object representing this trigger condition.
|
Node |
toYaml(com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties triggerConditionProperties) |
@NotNull List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> |
validate(TriggerValidationContext validationContext,
com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties pg) |
public static final String ENABLED
public static final String PLANS
@Inject public PlansGreenConditionExporter(PlansGreenConditionValidator validator)
public Set<String> getConfigurationKeys()
getConfigurationKeys
in interface BuildTriggerConditionExporter<com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties>
@Nullable public <T extends com.atlassian.bamboo.specs.api.builders.trigger.TriggerCondition<T,com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties>> T toSpecsEntity(@NotNull @NotNull Map<String,String> triggerConditionConfigurations)
BuildTriggerConditionExporter
toSpecsEntity
in interface BuildTriggerConditionExporter<com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties>
@NotNull public @NotNull Map<String,String> toConfigurationMap(com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties properties)
toConfigurationMap
in interface BuildTriggerConditionExporter<com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties>
@NotNull public @NotNull List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validate(TriggerValidationContext validationContext, com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties pg)
validate
in interface BuildTriggerConditionExporter<com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties>
public Node toYaml(com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties triggerConditionProperties)
toYaml
in interface BuildTriggerConditionExporter<com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties>
@Nullable public @Nullable com.atlassian.bamboo.specs.builders.trigger.PlansGreenTriggerCondition fromYaml(@NotNull @NotNull Node node)
fromYaml
in interface BuildTriggerConditionExporter<com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties>
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.