Package com.jcabi.github.mock
Class MkCommits
- java.lang.Object
-
- com.jcabi.github.mock.MkCommits
-
- All Implemented Interfaces:
Commits
@Immutable @Loggable(1) public final class MkCommits extends Object implements Commits
Mock of Github Commits.- Version:
- $Id: a3ff072a1e93cc8e48015bf30f9ab554c694ecfe $
- 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 sha)
Return a Statuses object for a given ref (sha, branch name, etc).
-
-
-
Method Detail
-
create
public Commit create(javax.json.JsonObject params)
Description copied from interface:Commits
Create a Commit object.
-
get
public Commit get(String sha)
Description copied from interface:Commits
Return a Commit by its SHA.
-
-