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 Commit
create(javax.json.JsonObject params)
Create a Commit object.Commit
get(String sha)
Return a Commit by its SHA.Repo
repo()
Owner of them.Statuses
statuses(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:Commits
Create a Commit object.- Specified by:
create
in 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:Commits
Return a Commit by its SHA.
-
-