Interface Hook

All Superinterfaces:
JsonReadable
All Known Implementing Classes:
Hook.Smart

@Immutable public interface Hook extends JsonReadable
GitHub hook.
Since:
0.8
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    Smart Hook with extra features.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get its number.
    Repository we're in.

    Methods inherited from interface com.jcabi.github.JsonReadable

    json
  • Method Details

    • repo

      Repo repo()
      Repository we're in.
      Returns:
      Repo
    • number

      int number()
      Get its number.
      Returns:
      Hook number