Class NativeServerPullRequestHookProcessor


  • public class NativeServerPullRequestHookProcessor
    extends HookProcessor
    • Constructor Detail

      • NativeServerPullRequestHookProcessor

        public NativeServerPullRequestHookProcessor()
    • Method Detail

      • process

        public void process​(HookEventType hookEvent,
                            String payload,
                            BitbucketType instanceType,
                            String origin)
        Description copied from class: HookProcessor
        See Event Payloads for more information about the payload parameter format.
        Specified by:
        process in class HookProcessor
        Parameters:
        hookEvent - the type of hook.
        payload - the hook payload
        instanceType - the Bitbucket type that called the hook
        origin - the origin of the event.
      • process

        public void process​(HookEventType hookEvent,
                            String payload,
                            BitbucketType instanceType,
                            String origin,
                            String serverUrl)
        Description copied from class: HookProcessor
        See Event Payloads for more information about the payload parameter format.
        Overrides:
        process in class HookProcessor
        Parameters:
        hookEvent - the type of hook.
        payload - the hook payload
        instanceType - the Bitbucket type that called the hook
        origin - the origin of the event.
        serverUrl - special value for native Bitbucket Server hooks which don't expose the server URL in the payload.