Package com.jcabi.github
Class Hook.Smart
java.lang.Object
com.jcabi.github.Hook.Smart
- All Implemented Interfaces:
Hook,JsonReadable
- Enclosing interface:
- Hook
Smart Hook with extra features.
- Since:
- 0.8
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jcabi.github.Hook
Hook.Smart -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Smart
Public ctor.- Parameters:
hoo- Hook
-
-
Method Details
-
name
Get its name.- Returns:
- Name of hook
- Throws:
IOException- If there is any I/O problem
-
repo
Description copied from interface:HookRepository we're in. -
number
public int number()Description copied from interface:HookGet its number. -
json
Description copied from interface:JsonReadableDescribe it in a JSON object.- Specified by:
jsonin interfaceJsonReadable- Returns:
- JSON object
- Throws:
IOException- If there is any I/O problem
-