Class NativeServerPushHookProcessor
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.hooks.HookProcessor
com.cloudbees.jenkins.plugins.bitbucket.hooks.NativeServerPushHookProcessor
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@RestrictedSince("933.3.0")
public class NativeServerPushHookProcessor
extends HookProcessor
-
Field Summary
Fields inherited from class com.cloudbees.jenkins.plugins.bitbucket.hooks.HookProcessor
SCAN_ON_EMPTY_CHANGES, SCAN_ON_EMPTY_CHANGES_PROPERTY_NAME
-
Constructor Summary
Constructors -
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
notifyEvent, 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.
-