Class RepoCommit.Smart

    • Constructor Detail

      • Smart

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

      • message

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

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

        public String author()
                      throws IOException
        Returns the login of the author.
        Returns:
        The login
        Throws:
        IOException - If there is any I/O problem
        Since:
        1.1
      • isVerified

        public boolean isVerified()
                           throws IOException
        Returns TRUE if the commit is verified.
        Returns:
        TRUE if verified
        Throws:
        IOException - If there is any I/O problem
        Since:
        1.1
      • repo

        public Repo repo()
        Description copied from interface: RepoCommit
        The repo we're in.
        Specified by:
        repo in interface RepoCommit
        Returns:
        Repo
      • 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