public interface PlanAwareEnvironmentTriggerConfigurator extends TriggerConfigurator
TriggerConfigurator.RepositorySelectionMode
Modifier and Type | Method and Description |
---|---|
boolean |
isAffectedByPlanDeletion(PlanKey deletedPlanKey,
TriggerDefinition triggerDefinition)
Check if trigger will be affected when Plan is deleted.
|
void |
onDeploymentProjectPlanUpdate(ImmutableChain oldPlan,
ImmutableChain newPlan,
TriggerDefinition triggerDefinition)
Update trigger definition when plan related to deployment is changed.
|
boolean |
updatePlanKey(PlanKey originalPlanKey,
PlanKey newPlanKey,
TriggerDefinition triggerDefinition)
Change plan key referenced by a trigger.
|
void |
validateDeploymentProjectPlanUpdate(ImmutableChain oldPlan,
ImmutableChain newPlan,
Environment environment,
List<EnvironmentTriggerValidationError> triggerValidationErrors,
TriggerDefinition triggerDefinition)
Validate change of plan deployment is related to.
|
generateTriggerConfigMap, getRepositorySelectionMode, isRepositorySelectable, populateContextForCreate, populateContextForEdit, populateContextForView, validate
void validateDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan, @NotNull ImmutableChain newPlan, @NotNull Environment environment, @NotNull List<EnvironmentTriggerValidationError> triggerValidationErrors, @NotNull TriggerDefinition triggerDefinition)
oldPlan
- newPlan
- environment
- triggerValidationErrors
- triggerDefinition
- void onDeploymentProjectPlanUpdate(@Nullable ImmutableChain oldPlan, @NotNull ImmutableChain newPlan, @NotNull TriggerDefinition triggerDefinition)
boolean updatePlanKey(@NotNull PlanKey originalPlanKey, @NotNull PlanKey newPlanKey, @NotNull TriggerDefinition triggerDefinition)
originalPlanKey
- original value of plan keynewPlanKey
- new value of plan keyboolean isAffectedByPlanDeletion(@NotNull PlanKey deletedPlanKey, @NotNull TriggerDefinition triggerDefinition)
deletedPlanKey
- key of Plan that was deletedCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.