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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<org.kohsuke.github.GHEvent>events()protected booleanisApplicable(Item project) protected voidonEvent(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:
isApplicablein classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
events
- Specified by:
eventsin 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:
onEventin classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-