Class PullRequestGHEventSubscriber
java.lang.Object
org.jenkinsci.plugins.github.extension.GHEventsSubscriber
org.jenkinsci.plugins.github_branch_source.PullRequestGHEventSubscriber
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class PullRequestGHEventSubscriber
extends org.jenkinsci.plugins.github.extension.GHEventsSubscriber
This subscriber manages
GHEvent
PULL_REQUEST.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Set<org.kohsuke.github.GHEvent>
events()
protected boolean
isApplicable
(Item project) protected void
onEvent
(org.jenkinsci.plugins.github.extension.GHSubscriberEvent event) Methods inherited from class org.jenkinsci.plugins.github.extension.GHEventsSubscriber
all, extractEvents, isApplicable, isApplicableFor, isApplicableFor, isInterestedIn, onEvent, processEvent, processEvent
-
Constructor Details
-
PullRequestGHEventSubscriber
public PullRequestGHEventSubscriber()
-
-
Method Details
-
isApplicable
- Specified by:
isApplicable
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
events
- Specified by:
events
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
- Returns:
- set with only PULL_REQUEST event
-
onEvent
protected void onEvent(org.jenkinsci.plugins.github.extension.GHSubscriberEvent event) - Overrides:
onEvent
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-