public class DefaultTriggerConditionExporter extends Object implements BuildTriggerConditionExporter<com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties>
Constructor and Description |
---|
DefaultTriggerConditionExporter() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getConfigurationKeys() |
Map<String,String> |
toConfigurationMap(com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties properties) |
<T extends com.atlassian.bamboo.specs.api.builders.trigger.TriggerCondition<T,com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties>> |
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.api.model.trigger.TriggerConditionProperties condition) |
public Set<String> getConfigurationKeys()
getConfigurationKeys
in interface BuildTriggerConditionExporter<com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties>
@Nullable public <T extends com.atlassian.bamboo.specs.api.builders.trigger.TriggerCondition<T,com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties>> T toSpecsEntity(@NotNull Map<String,String> triggerConditionConfigurations)
BuildTriggerConditionExporter
toSpecsEntity
in interface BuildTriggerConditionExporter<com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties>
@NotNull public Map<String,String> toConfigurationMap(@NotNull com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties properties)
toConfigurationMap
in interface BuildTriggerConditionExporter<com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties>
@NotNull public List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validate(TriggerValidationContext validationContext, com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties condition)
validate
in interface BuildTriggerConditionExporter<com.atlassian.bamboo.specs.api.model.trigger.TriggerConditionProperties>
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.