public abstract class GHHook extends GHObject
created_at, id, responseHeaderFields, updated_at, url| Constructor and Description |
|---|
GHHook() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Deletes this hook.
|
Map<String,String> |
getConfig()
Gets config.
|
EnumSet<GHEvent> |
getEvents()
Gets events.
|
URL |
getHtmlUrl()
Deprecated.
This object has no HTML URL.
|
String |
getName()
Gets name.
|
boolean |
isActive()
Is active boolean.
|
void |
ping()
Ping.
|
getCreatedAt, getId, getResponseHeaderFields, getUpdatedAt, getUrl, toStringpublic String getName()
public boolean isActive()
public void ping()
throws IOException
IOException - the io exceptionpublic void delete()
throws IOException
IOException - the io exceptionpublic URL getHtmlUrl()
GHObjectgetHtmlUrl in class GHObjectCopyright © 2020. All rights reserved.