Class RtCommits

  • All Implemented Interfaces:
    Commits

    @Immutable
    @Loggable(1)
    public final class RtCommits
    extends Object
    implements Commits
    Github Commits.
    Version:
    $Id: 150436de5f6a8ae9deb797c77a5b4c5d0265772a $
    Author:
    Ed Hillmann (edhillmann@yahoo.com)
    • Method Detail

      • repo

        public Repo repo()
        Description copied from interface: Commits
        Owner of them.
        Specified by:
        repo in interface Commits
        Returns:
        Repo
      • create

        public Commit create​(javax.json.JsonObject params)
                      throws IOException
        Description copied from interface: Commits
        Create a Commit object.
        Specified by:
        create in interface Commits
        Parameters:
        params - The input for creating the Tag.
        Returns:
        Commit
        Throws:
        IOException - - If anything goes wrong.
      • get

        public Commit get​(String sha)
        Description copied from interface: Commits
        Return a Commit by its SHA.
        Specified by:
        get in interface Commits
        Parameters:
        sha - The sha of the Commit.
        Returns:
        Commit
      • statuses

        public Statuses statuses​(String ref)
        Description copied from interface: Commits
        Return a Statuses object for a given ref (sha, branch name, etc).
        Specified by:
        statuses in interface Commits
        Parameters:
        ref - The ref of the Commit
        Returns:
        Status