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