Package org.kohsuke.github
Class GHHook
- java.lang.Object
-
- org.kohsuke.github.GHObject
-
- org.kohsuke.github.GHHook
-
public abstract class GHHook extends GHObject
The type GHHook.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
-
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
-
Constructor Summary
Constructors Constructor Description GHHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddelete()Deletes this hook.Map<String,String>getConfig()Gets config.EnumSet<GHEvent>getEvents()Gets events.URLgetHtmlUrl()Deprecated.This object has no HTML URL.StringgetName()Gets name.booleanisActive()Is active boolean.voidping()Ping.-
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
-
-
-
Method Detail
-
getName
public String getName()
Gets name.- Returns:
- the name
-
isActive
public boolean isActive()
Is active boolean.- Returns:
- the boolean
-
ping
public void ping() throws IOExceptionPing.- Throws:
IOException- the io exception- See Also:
- Ping hook
-
delete
public void delete() throws IOExceptionDeletes this hook.- Throws:
IOException- the io exception
-
getHtmlUrl
public URL getHtmlUrl()
Deprecated.This object has no HTML URL.Description copied from class:GHObjectGets html url.- Specified by:
getHtmlUrlin classGHObject- Returns:
- URL of this object for humans, which renders some HTML.
-
-