Class PushGHEventSubscriber
java.lang.Object
org.jenkinsci.plugins.github.extension.GHEventsSubscriber
org.jenkinsci.plugins.github_branch_source.PushGHEventSubscriber
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class PushGHEventSubscriber
extends org.jenkinsci.plugins.github.extension.GHEventsSubscriber
This subscriber manages
GHEvent
PUSH.-
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
-
PushGHEventSubscriber
public PushGHEventSubscriber()
-
-
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
-