@Immutable @Loggable(value=1) public static final class CommitsComparison.Smart extends Object implements CommitsComparison
CommitsComparison.Smart| Constructor and Description |
|---|
Smart(CommitsComparison cmprsn)
Public ctor.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<RepoCommit> |
commits()
Get commits.
|
Iterable<FileChange> |
files()
Iterate over the file changes between the two commits being
compared.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
Repo |
repo()
Get a parent repository of commits.
|
public Smart(CommitsComparison cmprsn)
cmprsn - Commits comparisonpublic Iterable<RepoCommit> commits() throws IOException
IOException - If there is any I/O problempublic Iterable<FileChange> files() throws IOException
CommitsComparisonfiles in interface CommitsComparisonIOException - If there is any I/O problempublic Repo repo()
CommitsComparisonrepo in interface CommitsComparisonpublic javax.json.JsonObject json()
throws IOException
JsonReadablejson in interface JsonReadableIOException - If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.