Package com.jcabi.github
Interface Commits
-
@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 Summary
All Methods Instance Methods Abstract 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
-
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
-
-