public interface TriggerDefinitionExporter
Modifier and Type | Method and Description |
---|---|
<T extends com.atlassian.bamboo.specs.api.builders.trigger.Trigger<T,P>,P extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> |
toSpecsEntity(TriggerDefinition triggerDefinition)
Create Bamboo Specs object representing this trigger.
|
default <T extends com.atlassian.bamboo.specs.api.builders.trigger.Trigger<T,P>,P extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> |
toSpecsEntity(TriggerDefinition triggerDefinition,
Triggerable triggerable)
Create Bamboo Specs object representing this trigger.
|
Map<String,String> |
toTriggerConfiguration(com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties,
Triggerable triggerable)
Converts properties to Bamboo trigger configuration.
|
List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> |
validate(TriggerValidationContext triggerValidationContext,
com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties)
Validates trigger properties in context of enclosing plan or deployment properties.
|
@NotNull Map<String,String> toTriggerConfiguration(@NotNull com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties, @NotNull Triggerable triggerable)
@NotNull <T extends com.atlassian.bamboo.specs.api.builders.trigger.Trigger<T,P>,P extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> T toSpecsEntity(@NotNull TriggerDefinition triggerDefinition)
@NotNull default <T extends com.atlassian.bamboo.specs.api.builders.trigger.Trigger<T,P>,P extends com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties> T toSpecsEntity(@NotNull TriggerDefinition triggerDefinition, @NotNull Triggerable triggerable)
@NotNull List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validate(@NotNull TriggerValidationContext triggerValidationContext, @NotNull com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.