Class IssueLabelGHEventSubscriber
java.lang.Object
org.jenkinsci.plugins.github.extension.GHEventsSubscriber
com.adobe.jenkins.github_pr_comment_build.IssueLabelGHEventSubscriber
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class IssueLabelGHEventSubscriber
extends org.jenkinsci.plugins.github.extension.GHEventsSubscriber
This subscriber manages
GHEvent Label.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jenkinsci.plugins.github.extension.GHEventsSubscriber
all, extractEvents, isApplicable, isApplicableFor, isApplicableFor, isInterestedIn, onEvent, processEvent, processEvent
-
Constructor Details
-
IssueLabelGHEventSubscriber
public IssueLabelGHEventSubscriber()
-
-
Method Details
-
isApplicable
- Specified by:
isApplicablein classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
events
- Specified by:
eventsin classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
onEvent
Handles Labels on pull requests.- Overrides:
onEventin classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber- Parameters:
event- only label eventpayload- payload of gh-event. Never blank
-