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

      • GitHubEventSubscriber

        public GitHubEventSubscriber()
    • Method Detail

      • 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