Interface EnvironmentAwareEnvironmentTriggerConfigurator

    • Method Detail

      • isAffectedByEnvironmentDeletion

        boolean isAffectedByEnvironmentDeletion​(long environmentId,
                                                @NotNull
                                                @NotNull TriggerDefinition triggerDefinition)
        Check if trigger will be affected when Environment is deleted.
        Parameters:
        environmentId - id of an Environment being deleted
        Returns:
        true if action needs to be taken when Environment is deleted
      • modifyConfigurationByIdsReplacement

        default void modifyConfigurationByIdsReplacement​(@NotNull
                                                         @NotNull TriggerDefinition triggerDefinition,
                                                         @NotNull
                                                         @NotNull Map<String,​String> oldAndClonedEnvironmentIds)
        Replace environments' ids according to provided mapping
        Parameters:
        triggerDefinition - of which configuration will be replaced
        oldAndClonedEnvironmentIds - mapping between old and new ids