Class RepositoryHookSettingsChangedEvent

All Implemented Interfaces:
Serializable

@AsynchronousPreferred @TransactionAware public class RepositoryHookSettingsChangedEvent extends RepositoryHookEvent
Fired when a repository hook's settings are changed.

This event is internally audited with CoverageLevel.BASE level.

See Also:
  • Constructor Details

    • RepositoryHookSettingsChangedEvent

      public RepositoryHookSettingsChangedEvent(@Nonnull Object source, @Nonnull Scope scope, @Nonnull String repositoryHookKey, @Nonnull Settings settings, @Nonnull Settings oldSettings)
      Parameters:
      source - the object on which the event initially occurred
      repositoryHookKey - the key of the repository hook
      scope - scope that the hook event was created for
      settings - the settings that apply for the hook
      oldSettings - the previous settings that were applied for the hook
      Since:
      7.4
  • Method Details

    • getOldSettings

      @Nullable public Settings getOldSettings()
    • getSettings

      @Nonnull public Settings getSettings()