Class PRReviewGHEventSubscriber

  • All Implemented Interfaces:
    ExtensionPoint

    @Extension
    public class PRReviewGHEventSubscriber
    extends org.jenkinsci.plugins.github.extension.GHEventsSubscriber
    This subscriber manages GHEvent PULL_REQUEST_REVIEW edits.
    • Constructor Detail

      • PRReviewGHEventSubscriber

        public PRReviewGHEventSubscriber()
    • Method Detail

      • isApplicable

        protected boolean isApplicable​(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
      • onEvent

        protected void onEvent​(org.kohsuke.github.GHEvent event,
                               String payload)
        Handles updates of pull requests.
        Overrides:
        onEvent in class org.jenkinsci.plugins.github.extension.GHEventsSubscriber
        Parameters:
        event - only PULL_REQUEST_REVIEW events
        payload - payload of gh-event. Never blank