@Immutable @Loggable(value=1) public static final class RepoCommit.Smart extends Object implements RepoCommit
RepoCommit.Smart| Constructor and Description |
|---|
Smart(RepoCommit cmt)
Public ctor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(RepoCommit obj) |
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
String |
message()
Get its message.
|
Repo |
repo()
The repo we're in.
|
String |
sha()
SHA of it.
|
URL |
url()
Get its URL.
|
public Smart(RepoCommit cmt)
cmt - RepoCommitpublic String message() throws IOException
IOException - If there is any I/O problempublic URL url() throws IOException
IOException - If there is any I/O problempublic Repo repo()
RepoCommitrepo in interface RepoCommitpublic String sha()
RepoCommitsha in interface RepoCommitpublic javax.json.JsonObject json()
throws IOException
JsonReadablejson in interface JsonReadableIOException - If there is any I/O problempublic int compareTo(RepoCommit obj)
compareTo in interface Comparable<RepoCommit>Copyright © 2012–2018 jcabi.com. All rights reserved.