Class RepositoryHookEnabledEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.hook.RepositoryHookEvent
com.atlassian.bitbucket.event.hook.RepositoryHookEnabledEvent
- All Implemented Interfaces:
Serializable
@AsynchronousPreferred
@TransactionAware
public class RepositoryHookEnabledEvent
extends RepositoryHookEvent
Fired when a repository hook is enabled
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionRepositoryHookEnabledEvent
(Object source, Scope scope, String repositoryHookKey) -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.hook.RepositoryHookEvent
getRepositoryHookKey, getScope
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
RepositoryHookEnabledEvent
public RepositoryHookEnabledEvent(@Nonnull Object source, @Nonnull Scope scope, @Nonnull String repositoryHookKey) - 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
-