Class RepositoryHookEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.hook.RepositoryHookEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RepositoryHookDeletedEvent
,RepositoryHookDisabledEvent
,RepositoryHookEnabledEvent
,RepositoryHookSettingsChangedEvent
Children of this event are fired when repository hooks 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
ModifierConstructorDescriptionprotected
RepositoryHookEvent
(Object source, String repositoryHookKey, Scope scope) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
RepositoryHookEvent
protected RepositoryHookEvent(@Nonnull Object source, @Nonnull String repositoryHookKey, @Nonnull Scope scope) - Parameters:
source
- the object on which the event initially occurredrepositoryHookKey
- the key of the repository hookscope
- scope that the hook event was created for- Since:
- 5.2
-
-
Method Details
-
getRepositoryHookKey
-
getScope
- Returns:
- the scope that the hook event was created for
- Since:
- 5.2
-