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
@Extension public class GHPullRequestSubscriber extends AbstractGHPullRequestSubsriber
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
Constructors Constructor Description GHPullRequestSubscriber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Method Detail
-
isApplicable
protected boolean isApplicable(Item item)
- 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
-
-