Package com.jcabi.github
Class Commit.Smart
java.lang.Object
com.jcabi.github.Commit.Smart
- All Implemented Interfaces:
Commit,JsonReadable,Comparable<Commit>
- Enclosing interface:
- Commit
Smart commit.
- Since:
- 0.3
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jcabi.github.Commit
Commit.Smart -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Smart
Public ctor.- Parameters:
cmt- Commit
-
-
Method Details
-
message
Get its message.- Returns:
- Message of commit
- Throws:
IOException- If there is any I/O problem
-
url
Get its URL.- Returns:
- URL of comment
- Throws:
IOException- If there is any I/O problem
-
repo
Description copied from interface:CommitThe repo we're in. -
sha
Description copied from interface:CommitSHA of it. -
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
-
compareTo
- Specified by:
compareToin interfaceComparable<Commit>
-