Class NativeServerPushHookProcessor

java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.hooks.HookProcessor
com.cloudbees.jenkins.plugins.bitbucket.hooks.NativeServerPushHookProcessor

public class NativeServerPushHookProcessor extends HookProcessor
  • Constructor Details

    • NativeServerPushHookProcessor

      public NativeServerPushHookProcessor()
  • Method Details

    • 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.