Class MkCommit

    • Constructor Detail

      • MkCommit

        public MkCommit​(MkStorage strg,
                        String login,
                        Coordinates crds,
                        String commitsha)
        Public constructor.
        Parameters:
        strg - The storage.
        login - The login name
        crds - Credential
        commitsha - Commit's sha.
        Suppressed Checkstyle violations:
        ParameterNumber (5 lines)
    • Method Detail

      • 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