Class 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 Detail

      • GHPullRequestSubscriber

        public GHPullRequestSubscriber()
    • Method Detail

      • 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