public interface EnvironmentAwareEnvironmentTriggerConfigurator extends TriggerConfigurator
TriggerConfigurator.RepositorySelectionMode
Modifier and Type | Method and Description |
---|---|
boolean |
isAffectedByEnvironmentDeletion(long environmentId,
@NotNull TriggerDefinition triggerDefinition)
Check if trigger will be affected when Environment is deleted.
|
default void |
modifyConfigurationByIdsReplacement(@NotNull TriggerDefinition triggerDefinition,
@NotNull Map<String,String> oldAndClonedEnvironmentIds)
Replace environments' ids according to provided mapping
|
generateTriggerConfigMap, getRepositorySelectionMode, isRepositorySelectable, populateContextForCreate, populateContextForEdit, populateContextForView, validate
boolean isAffectedByEnvironmentDeletion(long environmentId, @NotNull @NotNull TriggerDefinition triggerDefinition)
environmentId
- id of an Environment being deleteddefault void modifyConfigurationByIdsReplacement(@NotNull @NotNull TriggerDefinition triggerDefinition, @NotNull @NotNull Map<String,String> oldAndClonedEnvironmentIds)
triggerDefinition
- of which configuration will be replacedoldAndClonedEnvironmentIds
- mapping between old and new idsCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.