Class PullRequestHookProcessor
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.hooks.HookProcessor
com.cloudbees.jenkins.plugins.bitbucket.hooks.PullRequestHookProcessor
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@RestrictedSince("933.3.0")
public class PullRequestHookProcessor
extends HookProcessor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
notifyEvent
(jenkins.scm.api.SCMHeadEvent<?> event, int delaySeconds) void
process
(HookEventType hookEvent, String payload, BitbucketType instanceType, String origin) See Event Payloads for more information about the payload parameter format.Methods inherited from class com.cloudbees.jenkins.plugins.bitbucket.hooks.HookProcessor
process, process, scmSourceReIndex
-
Constructor Details
-
PullRequestHookProcessor
public PullRequestHookProcessor()
-
-
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.
-
notifyEvent
protected void notifyEvent(jenkins.scm.api.SCMHeadEvent<?> event, int delaySeconds)
-