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