Class GHHook


public abstract class GHHook extends GHObject
The type GHHook.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • GHHook

      public GHHook()
      Create default GHHook instance
  • Method Details

    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • getEvents

      public EnumSet<GHEvent> getEvents()
      Gets events.
      Returns:
      the events
    • isActive

      public boolean isActive()
      Is active boolean.
      Returns:
      the boolean
    • getConfig

      public Map<String,String> getConfig()
      Gets config.
      Returns:
      the config
    • ping

      public void ping() throws IOException
      Ping.
      Throws:
      IOException - the io exception
      See Also:
    • delete

      public void delete() throws IOException
      Deletes this hook.
      Throws:
      IOException - the io exception