Class GitHubRepositoryEventSubscriber

  • All Implemented Interfaces:
    ExtensionPoint

    @Extension
    public class GitHubRepositoryEventSubscriber
    extends org.jenkinsci.plugins.github.extension.GHEventsSubscriber
    This subscriber manages GHEvent REPOSITORY.
    • Constructor Detail

      • GitHubRepositoryEventSubscriber

        public GitHubRepositoryEventSubscriber()
    • Method Detail

      • isApplicable

        protected boolean isApplicable​(@Nullable
                                       Item item)
        Specified by:
        isApplicable 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
        Returns:
        set with only REPOSITORY event
      • onEvent

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