Interface Commits

All Known Implementing Classes:
MkCommits, RtCommits

@Immutable public interface Commits
GitHub Git Data Commits.
Since:
0.8
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    create(jakarta.json.JsonObject params)
    Create a Commit object.
    get(String sha)
    Return a Commit by its SHA.
    Owner of them.
    Return a Statuses object for a given ref (sha, branch name, etc).
  • Method Details

    • repo

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

      Commit create(jakarta.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