public class DefaultTriggerDefinitionExporter extends Object implements TriggerDefinitionExporter
Constructor and Description |
---|
DefaultTriggerDefinitionExporter() |
Modifier and Type | Method and Description |
---|---|
@NotNull com.atlassian.bamboo.specs.api.builders.trigger.Trigger |
toSpecsEntity(@NotNull TriggerDefinition triggerDefinition)
Create Bamboo Specs object representing this trigger.
|
@NotNull Map<String,String> |
toTriggerConfiguration(@NotNull com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties,
@NotNull Triggerable triggerable)
Converts properties to Bamboo trigger configuration.
|
List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> |
validate(@NotNull TriggerValidationContext triggerValidationContext,
@NotNull com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties)
Validates trigger properties in context of enclosing plan or deployment properties.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromYaml, toSpecsEntity, toYaml
@NotNull public @NotNull Map<String,String> toTriggerConfiguration(@NotNull @NotNull com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties, @NotNull @NotNull Triggerable triggerable)
TriggerDefinitionExporter
toTriggerConfiguration
in interface TriggerDefinitionExporter
@NotNull public @NotNull com.atlassian.bamboo.specs.api.builders.trigger.Trigger toSpecsEntity(@NotNull @NotNull TriggerDefinition triggerDefinition)
TriggerDefinitionExporter
toSpecsEntity
in interface TriggerDefinitionExporter
public List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validate(@NotNull @NotNull TriggerValidationContext triggerValidationContext, @NotNull @NotNull com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties)
TriggerDefinitionExporter
Should check RSS permissions if necessary.
validate
in interface TriggerDefinitionExporter
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.