Interface Commits

  • All Known Implementing Classes:
    MkCommits, RtCommits

    @Immutable
    public interface Commits
    Github Git Data Commits.
    Since:
    0.8
    Version:
    $Id: 9c7d5a547976ffda7d18dae156b549aea3713703 $
    Author:
    Carlos Miranda (miranda.cma@gmail.com)
    See Also:
    Commits API
    • Method Detail

      • repo

        Repo repo()
        Owner of them.
        Returns:
        Repo
      • create

        Commit create​(javax.json.JsonObject params)
               throws IOException
        Create a Commit object.
        Parameters:
        params - The input for creating the Tag.
        Returns:
        Commit
        Throws:
        IOException - - If anything goes wrong.
      • get

        Commit get​(String sha)
        Return a Commit by its SHA.
        Parameters:
        sha - The sha of the Commit.
        Returns:
        Commit
      • statuses

        Statuses statuses​(String ref)
        Return a Statuses object for a given ref (sha, branch name, etc).
        Parameters:
        ref - The ref of the Commit
        Returns:
        Status
        Since:
        0.23