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
  • Field Details

    • EVENTS

      public static final Set<org.kohsuke.github.GHEvent> EVENTS
  • Constructor Details

    • AbstractGHBranchSubscriber

      public AbstractGHBranchSubscriber()
  • Method Details

    • events

      protected Set<org.kohsuke.github.GHEvent> events()
      Specified by:
      events in class org.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)