com.atlassian.bitbucket.hook.repository.AsyncPostReceiveRepositoryHook |
This interface is deprecated.
in 5.0 for removal in 6.0. Implement PostRepositoryHook
instead.
Configured and enabled Repository Hook that is called after a push request is completed.
This is used in preference over PostReceiveHook
in circumstances where a standard
configuration is required. This hook can also be enabled/disabled at the repository level.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Callback method that is called just after a push is completed (or a pull request accepted).
|
Callback method that is called just after a push is completed (or a pull request accepted). This hook executes after the processing of a push and will not block the user client.
Despite being asynchronous, the user who initiated this change is still available from AuthenticationContext.context | the context which the hook is being run with |
---|---|
refChanges | the refs that have just been updated |