Class Hook.Smart

    • Constructor Detail

      • Smart

        public Smart​(Hook hoo)
        Public ctor.
        Parameters:
        hoo - Hook
    • Method Detail

      • repo

        public Repo repo()
        Description copied from interface: Hook
        Repository we're in.
        Specified by:
        repo in interface Hook
        Returns:
        Repo
      • number

        public int number()
        Description copied from interface: Hook
        Get its number.
        Specified by:
        number in interface Hook
        Returns:
        Hook number
      • json

        public javax.json.JsonObject json()
                                   throws IOException
        Description copied from interface: JsonReadable
        Describe it in a JSON object.
        Specified by:
        json in interface JsonReadable
        Returns:
        JSON object
        Throws:
        IOException - If there is any I/O problem