Package com.jcabi.github
Class RtCommits
- java.lang.Object
-
- com.jcabi.github.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Commitcreate(javax.json.JsonObject params)Create a Commit object.Commitget(String sha)Return a Commit by its SHA.Reporepo()Owner of them.Statusesstatuses(String ref)Return a Statuses object for a given ref (sha, branch name, etc).
-
-
-
Method Detail
-
create
public Commit create(javax.json.JsonObject params) throws IOException
Description copied from interface:CommitsCreate a Commit object.- Specified by:
createin interfaceCommits- 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:CommitsReturn a Commit by its SHA.
-
-