public interface HookHandler
Modifier and Type | Method and Description |
---|---|
boolean |
handle(HookRequest request,
HookResponse response) |
boolean handle(HookRequest request, HookResponse response)
request
- the hook requestresponse
- the hook responsetrue
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)Copyright © 2020 Atlassian. All rights reserved.