Class PRReviewGHEventSubscriber
java.lang.Object
org.jenkinsci.plugins.github.extension.GHEventsSubscriber
com.adobe.jenkins.github_pr_comment_build.BasePRGHEventSubscriber<TriggerPRReviewBranchProperty,Void>
com.adobe.jenkins.github_pr_comment_build.PRReviewGHEventSubscriber
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class PRReviewGHEventSubscriber
extends BasePRGHEventSubscriber<TriggerPRReviewBranchProperty,Void>
This subscriber manages
GHEvent
PULL_REQUEST_REVIEW edits.-
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<TriggerPRReviewBranchProperty>
protected void
Handles updates of pull requests.Methods inherited from class com.adobe.jenkins.github_pr_comment_build.BasePRGHEventSubscriber
checkAndRunJobs, getChangedRepository, getRepoUrl, isApplicable, postStartJob
Methods inherited from class org.jenkinsci.plugins.github.extension.GHEventsSubscriber
all, extractEvents, isApplicable, isApplicableFor, isApplicableFor, isInterestedIn, onEvent, processEvent, processEvent
-
Constructor Details
-
PRReviewGHEventSubscriber
public PRReviewGHEventSubscriber()
-
-
Method Details
-
getTriggerClass
- Specified by:
getTriggerClass
in classBasePRGHEventSubscriber<TriggerPRReviewBranchProperty,
Void>
-
events
- Specified by:
events
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
onEvent
Handles updates of pull requests.- Overrides:
onEvent
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
- Parameters:
event
- only PULL_REQUEST_REVIEW eventspayload
- payload of gh-event. Never blank
-