Class GHHook


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

      • GHHook

        public GHHook()
    • Method Detail

      • 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
      • getHtmlUrl

        public URL getHtmlUrl()
        Deprecated.
        This object has no HTML URL.
        Description copied from class: GHObject
        Gets html url.
        Specified by:
        getHtmlUrl in class GHObject
        Returns:
        URL of this object for humans, which renders some HTML.