public class TriggerDefinitionExportHelper extends Object
Constructor and Description |
---|
TriggerDefinitionExportHelper() |
Modifier and Type | Method and Description |
---|---|
void |
activate(Triggerable environment,
TriggerDefinition triggerDefinition) |
void |
deactivate(Triggerable environment,
TriggerDefinition triggerDefinition) |
TriggerDefinition |
importTriggerDefinition(long id,
Triggerable triggerable,
com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties) |
com.atlassian.bamboo.specs.api.builders.trigger.Trigger<?,?> |
toSpecsEntity(Set<Long> availableRepositories,
TriggerDefinition triggerDefinition,
Triggerable triggerable) |
void |
validateTriggerProperties(com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties,
RssPermissions rssPermissions) |
void |
validateTriggerProperties(com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties,
RssPermissions rssPermissions) |
@NotNull public com.atlassian.bamboo.specs.api.builders.trigger.Trigger<?,?> toSpecsEntity(@Nullable Set<Long> availableRepositories, @NotNull TriggerDefinition triggerDefinition, @NotNull Triggerable triggerable)
@NotNull public TriggerDefinition importTriggerDefinition(long id, @NotNull Triggerable triggerable, @NotNull com.atlassian.bamboo.specs.api.model.trigger.TriggerProperties triggerProperties) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
public void validateTriggerProperties(@NotNull com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties, @NotNull RssPermissions rssPermissions) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException, YamlValidationException
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
YamlValidationException
public void validateTriggerProperties(@NotNull com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties deploymentProperties, @NotNull RssPermissions rssPermissions) throws com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException, YamlValidationException
com.atlassian.bamboo.specs.api.exceptions.PropertiesValidationException
YamlValidationException
public void deactivate(@NotNull Triggerable environment, @NotNull TriggerDefinition triggerDefinition)
public void activate(@NotNull Triggerable environment, @NotNull TriggerDefinition triggerDefinition)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.