public interface

HookHandler

com.atlassian.bitbucket.hook.HookHandler

Class Overview

Represents an scm hook callback.

Summary

Public Methods
boolean handle(HookRequest request, HookResponse response)

Public Methods

public boolean handle (HookRequest request, HookResponse response)

Returns
  • true if the hook should be allowed to continue, otherwise false. Note that the return value is ignored for hooks that are called after the request has been completed (e.g. PostReceiveHook).