@Immutable @Loggable(value=1) public static final class RepoCommit.Smart extends Object implements RepoCommit
RepoCommit.Smart
Constructor and Description |
---|
RepoCommit.Smart(RepoCommit cmt)
Public ctor.
|
public RepoCommit.Smart(@NotNull(message="cmt can\'t be NULL") RepoCommit cmt)
cmt
- RepoCommit@NotNull(message="message is never NULL") public String message() throws IOException
IOException
- If there is any I/O problem@NotNull(message="url is never NULL") public URL url() throws IOException
IOException
- If there is any I/O problem@NotNull(message="repo is never NULL") public Repo repo()
RepoCommit
repo
in interface RepoCommit
@NotNull(message="sha is never NULL") public String sha()
RepoCommit
sha
in interface RepoCommit
@NotNull(message="JSON is never NULL") public javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problempublic int compareTo(@NotNull(message="obj can\'t be NULL") RepoCommit obj)
compareTo
in interface Comparable<RepoCommit>
Copyright © 2012–2014 jcabi.com. All rights reserved.