@Deprecated public interface

AsyncPostReceiveRepositoryHook

implements RepositoryHookImplementor
com.atlassian.bitbucket.hook.repository.AsyncPostReceiveRepositoryHook

This interface is deprecated.
in 5.0 for removal in 6.0. Implement PostRepositoryHook instead.

Class Overview

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.

Summary

Public Methods
void postReceive(RepositoryHookContext context, Collection<RefChange> refChanges)
Callback method that is called just after a push is completed (or a pull request accepted).

Public Methods

public void postReceive (RepositoryHookContext context, Collection<RefChange> refChanges)

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.

Parameters
context the context which the hook is being run with
refChanges the refs that have just been updated