Class IssueLabelGHEventSubscriber
java.lang.Object
org.jenkinsci.plugins.github.extension.GHEventsSubscriber
com.adobe.jenkins.github_pr_comment_build.BasePRGHEventSubscriber<TriggerPRLabelBranchProperty,Void>
com.adobe.jenkins.github_pr_comment_build.IssueLabelGHEventSubscriber
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class IssueLabelGHEventSubscriber
extends BasePRGHEventSubscriber<TriggerPRLabelBranchProperty,Void>
This subscriber manages
GHEvent Label.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class com.adobe.jenkins.github_pr_comment_build.BasePRGHEventSubscriber
REPOSITORY_NAME_PATTERN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<org.kohsuke.github.GHEvent>events()protected Class<TriggerPRLabelBranchProperty>protected voidHandles Labels on pull requests.Methods inherited from class com.adobe.jenkins.github_pr_comment_build.BasePRGHEventSubscriber
checkAndRunJobs, getChangedRepository, getRepoUrl, isApplicable, postStartJobMethods 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
-
getTriggerClass
- Specified by:
getTriggerClassin classBasePRGHEventSubscriber<TriggerPRLabelBranchProperty,Void>
-
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
-