@Immutable @Loggable(value=1) public static final class CommitsComparison.Smart extends Object implements CommitsComparison
CommitsComparison.Smart
Constructor and Description |
---|
CommitsComparison.Smart(CommitsComparison cmprsn)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
Iterable<RepoCommit> |
commits()
Get commits.
|
javax.json.JsonArray |
files()
Get a JSON-array of objects with information about files.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
Repo |
repo()
Get a parent repository of commits.
|
public CommitsComparison.Smart(@NotNull(message="cmprsn can\'t be NULL") CommitsComparison cmprsn)
cmprsn
- Commits comparison@NotNull(message="Iterable of commits is never NULL") public Iterable<RepoCommit> commits() throws IOException
IOException
- If there is any I/O problem@NotNull(message="json array is never NULL") public javax.json.JsonArray files() throws IOException
IOException
- If there is any I/O problem@NotNull(message="Repository is never NULL") public Repo repo()
CommitsComparison
repo
in interface CommitsComparison
@NotNull(message="JSON is never NULL") public javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.