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
@Immutable @Loggable(1) public static final class Commit.Smart extends Object implements Commit
Smart commit.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jcabi.github.Commit
Commit.Smart
-
-
-
-
Constructor Detail
-
Smart
public Smart(Commit cmt)
Public ctor.- Parameters:
cmt
- Commit
-
-
Method Detail
-
message
public String message() throws IOException
Get its message.- Returns:
- Message of commit
- Throws:
IOException
- If there is any I/O problem
-
url
public URL url() throws IOException
Get its URL.- Returns:
- URL of comment
- Throws:
IOException
- If there is any I/O problem
-
json
public javax.json.JsonObject json() throws IOException
Description copied from interface:JsonReadable
Describe it in a JSON object.- Specified by:
json
in interfaceJsonReadable
- Returns:
- JSON object
- Throws:
IOException
- If there is any I/O problem
-
compareTo
public int compareTo(Commit obj)
- Specified by:
compareTo
in interfaceComparable<Commit>
-
-