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 BranchInfoextractRefInfo(org.kohsuke.github.GHEvent event, String payload) protected BranchInfoextractRefInfo(org.kohsuke.github.GHEvent event, String payload, boolean tagsAware) protected BranchInfofromJson(net.sf.json.JSONObject json) protected BranchInfofromJson(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:
eventsin 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
-