Package com.jcabi.github
Class CommitsComparison.Smart
java.lang.Object
com.jcabi.github.CommitsComparison.Smart
- All Implemented Interfaces:
CommitsComparison,JsonReadable
- Enclosing interface:
- CommitsComparison
@Immutable
@Loggable(1)
public static final class CommitsComparison.Smart
extends Object
implements CommitsComparison
Smart commits comparison with extra features.
- Since:
- 0.5
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jcabi.github.CommitsComparison
CommitsComparison.Smart -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Smart
Public ctor.- Parameters:
cmprsn- Commits comparison
-
-
Method Details
-
commits
Get commits.- Returns:
- Commits
- Throws:
IOException- If there is any I/O problem
-
files
Description copied from interface:CommitsComparisonIterate over the file changes between the two commits being compared.- Specified by:
filesin interfaceCommitsComparison- Returns:
- Iterable of file changes
- Throws:
IOException- If there is any I/O problem
-
repo
Description copied from interface:CommitsComparisonGet a parent repository of commits.- Specified by:
repoin interfaceCommitsComparison- Returns:
- Repository
-
json
Description copied from interface:JsonReadableDescribe it in a JSON object.- Specified by:
jsonin interfaceJsonReadable- Returns:
- JSON object
- Throws:
IOException- If there is any I/O problem
-