Class GitHubRepositoryEventSubscriber

java.lang.Object
org.jenkinsci.plugins.github.extension.GHEventsSubscriber
org.jenkinsci.plugins.github_branch_source.GitHubRepositoryEventSubscriber
All Implemented Interfaces:
ExtensionPoint

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

    • GitHubRepositoryEventSubscriber

      public GitHubRepositoryEventSubscriber()
  • Method Details

    • 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