Class Commit.Smart

    • Constructor Detail

      • Smart

        public Smart​(Commit cmt)
        Public ctor.
        Parameters:
        cmt - Commit
    • Method Detail

      • message

        public String message()
                       throws IOException
        Get its message.
        Returns:
        Message of commit
        Throws:
        IOException - If there is any I/O problem
      • url

        public URL url()
                throws IOException
        Get its URL.
        Returns:
        URL of comment
        Throws:
        IOException - If there is any I/O problem
      • repo

        public Repo repo()
        Description copied from interface: Commit
        The repo we're in.
        Specified by:
        repo in interface Commit
        Returns:
        Repo
      • sha

        public String sha()
        Description copied from interface: Commit
        SHA of it.
        Specified by:
        sha in interface Commit
        Returns:
        SHA
      • 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