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 |
---|---|
Set<String> |
getConfigurationKeys() |
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(Map<String,String> triggerConditionConfigurations)
Create Bamboo Specs object representing this trigger condition.
|
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 Map<String,String> triggerConditionConfigurations)
BuildTriggerConditionExporter
toSpecsEntity
in interface BuildTriggerConditionExporter<com.atlassian.bamboo.specs.model.trigger.PlansGreenTriggerConditionProperties>
@NotNull public 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 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>
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.