Class RepositoryHookSettingsChangedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.hook.RepositoryHookEvent
com.atlassian.bitbucket.event.hook.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:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.hook.RepositoryHookEvent
getRepositoryHookKey, getScopeMethods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUserMethods inherited from class java.util.EventObject
getSource, toString
-
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 occurredrepositoryHookKey- the key of the repository hookscope- scope that the hook event was created forsettings- the settings that apply for the hookoldSettings- the previous settings that were applied for the hook- Since:
- 7.4
-
-
Method Details
-
getOldSettings
-
getSettings
-