Class GitHubEventSubscriber
- java.lang.Object
-
- org.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
- org.jenkinsci.plugins.pipeline.github.trigger.GitHubEventSubscriber
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class GitHubEventSubscriber extends org.jenkinsci.plugins.github.extension.GHEventsSubscriber
Listens for GitHub events. Currently only handles IssueComment events.- Author:
- Aaron Whiteside
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GitHubEventSubscriber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<org.kohsuke.github.GHEvent>
events()
protected boolean
isApplicable(Item project)
protected void
onEvent(org.jenkinsci.plugins.github.extension.GHSubscriberEvent event)
-
-
-
Method Detail
-
isApplicable
protected boolean isApplicable(@Nullable Item project)
- Specified by:
isApplicable
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
-
events
protected Set<org.kohsuke.github.GHEvent> events()
- Specified by:
events
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
-