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)
  • Constructor Details

    • GHPullRequestSubscriber

      public GHPullRequestSubscriber()
  • Method Details

    • isApplicable

      protected boolean isApplicable(Item item)
      Specified by:
      isApplicable in class org.jenkinsci.plugins.github.extension.GHEventsSubscriber
    • onEvent

      protected void onEvent(org.jenkinsci.plugins.github.extension.GHSubscriberEvent event)
      Overrides:
      onEvent in class org.jenkinsci.plugins.github.extension.GHEventsSubscriber