Class AbstractGHBranchSubscriber
java.lang.Object
org.jenkinsci.plugins.github.extension.GHEventsSubscriber
com.github.kostyasha.github.integration.branch.webhook.AbstractGHBranchSubscriber
- All Implemented Interfaces:
ExtensionPoint
- Direct Known Subclasses:
GHBranchSubscriber
,GHMultiBranchSubscriber
public abstract class AbstractGHBranchSubscriber
extends org.jenkinsci.plugins.github.extension.GHEventsSubscriber
- Author:
- Kanstantsin Shautsou
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Set<org.kohsuke.github.GHEvent>
events()
protected BranchInfo
extractRefInfo
(org.kohsuke.github.GHEvent event, String payload) protected BranchInfo
extractRefInfo
(org.kohsuke.github.GHEvent event, String payload, boolean tagsAware) protected BranchInfo
fromJson
(net.sf.json.JSONObject json) protected BranchInfo
fromJson
(net.sf.json.JSONObject json, boolean tagsAware) Methods inherited from class org.jenkinsci.plugins.github.extension.GHEventsSubscriber
all, extractEvents, isApplicable, isApplicable, isApplicableFor, isApplicableFor, isInterestedIn, onEvent, onEvent, processEvent, processEvent
-
Field Details
-
EVENTS
-
-
Constructor Details
-
AbstractGHBranchSubscriber
public AbstractGHBranchSubscriber()
-
-
Method Details
-
events
- Specified by:
events
in classorg.jenkinsci.plugins.github.extension.GHEventsSubscriber
-
extractRefInfo
protected BranchInfo extractRefInfo(org.kohsuke.github.GHEvent event, String payload) throws IOException - Throws:
IOException
-
extractRefInfo
protected BranchInfo extractRefInfo(org.kohsuke.github.GHEvent event, String payload, boolean tagsAware) throws IOException - Throws:
IOException
-
fromJson
-
fromJson
-