java.lang.Object
org.kohsuke.github.GHObject
org.kohsuke.github.GHHook
The type GHHook.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class org.kohsuke.github.GHObject
responseHeaderFields
-
Constructor Summary
-
Method Summary
Methods inherited from class org.kohsuke.github.GHObject
getCreatedAt, getId, getNodeId, getResponseHeaderFields, getUpdatedAt, getUrl, setResponseHeaderFields, toString
-
Constructor Details
-
GHHook
public GHHook()Create default GHHook instance
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
getEvents
Gets events.- Returns:
- the events
-
isActive
public boolean isActive()Is active boolean.- Returns:
- the boolean
-
getConfig
Gets config.- Returns:
- the config
-
ping
Ping.- Throws:
IOException
- the io exception- See Also:
-
delete
Deletes this hook.- Throws:
IOException
- the io exception
-