Package com.jcabi.github
Interface Hook
-
- All Superinterfaces:
JsonReadable
- All Known Implementing Classes:
Hook.Smart
@Immutable public interface Hook extends JsonReadable
Github hook.- Since:
- 0.8
- Version:
- $Id: 24a9094209f11cf8d658cb6ff74f7cf3c924122b $
- Author:
- Paul Polishchuk (ppol@ua.fm)
- See Also:
- Hooks API
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Hook.Smart
Smart Hook with extra features.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
number()
Get its number.Repo
repo()
Repository we're in.-
Methods inherited from interface com.jcabi.github.JsonReadable
json
-
-
-
-
Method Detail
-
repo
Repo repo()
Repository we're in.- Returns:
- Repo
-
number
int number()
Get its number.- Returns:
- Hook number
-
-