Class GHBranchSubscriber
- java.lang.Object
-
- org.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
- com.github.kostyasha.github.integration.branch.webhook.AbstractGHBranchSubscriber
-
- com.github.kostyasha.github.integration.branch.webhook.GHBranchSubscriber
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class GHBranchSubscriber extends AbstractGHBranchSubscriber
- Author:
- Kanstantsin Shautsou
- See Also:
GHPullRequestSubscriber
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class com.github.kostyasha.github.integration.branch.webhook.AbstractGHBranchSubscriber
EVENTS
-
-
Constructor Summary
Constructors Constructor Description GHBranchSubscriber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isApplicable(Item item)
protected void
onEvent(org.jenkinsci.plugins.github.extension.GHSubscriberEvent event)
-
Methods inherited from class com.github.kostyasha.github.integration.branch.webhook.AbstractGHBranchSubscriber
events, extractRefInfo, extractRefInfo, fromJson, fromJson
-
-
-
-
Method Detail
-
isApplicable
protected boolean isApplicable(@Nullable Item item)
- 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
-
-