Package io.jenkins.plugins.checks.github
Class CheckRunGHEventSubscriber
java.lang.Object
org.jenkinsci.plugins.github.extension.GHEventsSubscriber
io.jenkins.plugins.checks.github.CheckRunGHEventSubscriber
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class CheckRunGHEventSubscriber
extends org.jenkinsci.plugins.github.extension.GHEventsSubscriber
This subscriber manages
GHEvent.CHECK_RUN
event and handles the re-run action request.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Declares that a build was started due to a user's rerun request through GitHub checks API.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Set<org.kohsuke.github.GHEvent>
events()
protected boolean
isApplicable
(Item item) protected void
onEvent
(org.jenkinsci.plugins.github.extension.GHSubscriberEvent event) Methods inherited from class org.jenkinsci.plugins.github.extension.GHEventsSubscriber
all, extractEvents, isApplicable, isApplicableFor, isApplicableFor, isInterestedIn, onEvent, processEvent, processEvent
-
Constructor Details
-
CheckRunGHEventSubscriber
public CheckRunGHEventSubscriber()Construct the subscriber.
-
-
Method Details
-
isApplicable
- Specified by:
isApplicable
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
events
- Specified by:
events
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
onEvent
protected void onEvent(org.jenkinsci.plugins.github.extension.GHSubscriberEvent event) - Overrides:
onEvent
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-