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 managesGHEvent.CHECK_RUN
event and handles the re-run action request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CheckRunGHEventSubscriber.GitHubChecksRerunActionCause
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
Constructors Constructor Description CheckRunGHEventSubscriber()
Construct the subscriber.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<org.kohsuke.github.GHEvent>
events()
protected boolean
isApplicable(Item item)
protected void
onEvent(org.jenkinsci.plugins.github.extension.GHSubscriberEvent event)
-
-
-
Method Detail
-
isApplicable
protected boolean isApplicable(@CheckForNull Item item)
- Specified by:
isApplicable
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
events
protected Set<org.kohsuke.github.GHEvent> 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
-
-