Class NativeServerPushHookProcessor
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.hooks.HookProcessor
com.cloudbees.jenkins.plugins.bitbucket.hooks.NativeServerPushHookProcessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(HookEventType hookEvent, String payload, BitbucketType instanceType, String origin) See Event Payloads for more information about the payload parameter format.void
process
(HookEventType hookEvent, String payload, BitbucketType instanceType, String origin, String serverUrl) See Event Payloads for more information about the payload parameter format.Methods inherited from class com.cloudbees.jenkins.plugins.bitbucket.hooks.HookProcessor
process, scmSourceReIndex
-
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 classHookProcessor
- Parameters:
hookEvent
- the type of hook.payload
- the hook payloadinstanceType
- the Bitbucket type that called the hookorigin
- 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 classHookProcessor
- Parameters:
hookEvent
- the type of hook.payload
- the hook payloadinstanceType
- the Bitbucket type that called the hookorigin
- the origin of the event.serverUrl
- special value for native Bitbucket Server hooks which don't expose the server URL in the payload.
-