@Immutable @Loggable(value=1) public static final class Hook.Smart extends Object implements Hook
Hook.Smart| Modifier and Type | Method and Description |
|---|---|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
String |
name()
Get its name.
|
int |
number()
Get its number.
|
Repo |
repo()
Repository we're in.
|
public Smart(Hook hoo)
hoo - Hookpublic String name() throws IOException
IOException - If there is any I/O problempublic int number()
Hookpublic javax.json.JsonObject json()
throws IOException
JsonReadablejson in interface JsonReadableIOException - If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.