public class BitbucketServerTriggerExporter extends Object implements TriggerDefinitionExporter
Constructor and Description |
---|
BitbucketServerTriggerExporter() |
Modifier and Type | Method and Description |
---|---|
com.atlassian.bamboo.specs.api.builders.trigger.Trigger |
toSpecsEntity(TriggerDefinition triggerDefinition)
Create Bamboo Specs object representing this trigger.
|
Map<String,String> |
toTriggerConfiguration(com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties)
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 public Map<String,String> toTriggerConfiguration(@NotNull com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties)
TriggerDefinitionExporter
toTriggerConfiguration
in interface TriggerDefinitionExporter
@NotNull public com.atlassian.bamboo.specs.api.builders.trigger.Trigger toSpecsEntity(TriggerDefinition triggerDefinition)
TriggerDefinitionExporter
toSpecsEntity
in interface TriggerDefinitionExporter
public List<com.atlassian.bamboo.specs.api.validators.common.ValidationProblem> validate(@NotNull TriggerValidationContext triggerValidationContext, @NotNull com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties)
TriggerDefinitionExporter
validate
in interface TriggerDefinitionExporter
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.