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
-
-
Constructor Summary
Constructors Constructor Description AbstractGHBranchSubscriber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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)
-
-
-
Field Detail
-
EVENTS
public static final Set<org.kohsuke.github.GHEvent> EVENTS
-
-
Method Detail
-
events
protected Set<org.kohsuke.github.GHEvent> 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
protected BranchInfo fromJson(net.sf.json.JSONObject json)
-
fromJson
protected BranchInfo fromJson(net.sf.json.JSONObject json, boolean tagsAware)
-
-