Class GitHubEventSubscriber

java.lang.Object
org.jenkinsci.plugins.github.extension.GHEventsSubscriber
org.jenkinsci.plugins.pipeline.github.trigger.GitHubEventSubscriber
All Implemented Interfaces:
ExtensionPoint

@Extension public class GitHubEventSubscriber extends org.jenkinsci.plugins.github.extension.GHEventsSubscriber
Listens for GitHub events. Currently only handles IssueComment events.
Author:
Aaron Whiteside
  • Constructor Details

    • GitHubEventSubscriber

      public GitHubEventSubscriber()
  • Method Details

    • isApplicable

      protected boolean isApplicable(@Nullable Item project)
      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
    • events

      protected Set<org.kohsuke.github.GHEvent> events()
      Specified by:
      events in class org.jenkinsci.plugins.github.extension.GHEventsSubscriber