Class GHPullRequestSubscriber
java.lang.Object
org.jenkinsci.plugins.github.extension.GHEventsSubscriber
org.jenkinsci.plugins.github.pullrequest.webhook.AbstractGHPullRequestSubsriber
org.jenkinsci.plugins.github.pullrequest.webhook.GHPullRequestSubscriber
- All Implemented Interfaces:
ExtensionPoint
Uses extension point from github-plugin to get events form standard github-webhook endpoint.
Subscribes on pull_request and issue_comment events.
- Author:
- lanwen (Merkushev Kirill)
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isApplicable
(Item item) protected void
onEvent
(org.jenkinsci.plugins.github.extension.GHSubscriberEvent event) Methods inherited from class org.jenkinsci.plugins.github.pullrequest.webhook.AbstractGHPullRequestSubsriber
events, extractPullRequestInfo
Methods inherited from class org.jenkinsci.plugins.github.extension.GHEventsSubscriber
all, extractEvents, isApplicable, isApplicableFor, isApplicableFor, isInterestedIn, onEvent, processEvent, processEvent
-
Constructor Details
-
GHPullRequestSubscriber
public GHPullRequestSubscriber()
-
-
Method Details
-
isApplicable
- Specified by:
isApplicable
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
onEvent
protected void onEvent(org.jenkinsci.plugins.github.extension.GHSubscriberEvent event) - Overrides:
onEvent
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-