@Immutable @Loggable(value=1) public class MkCommit extends Object implements Commit
Commit.Smart| Constructor and Description |
|---|
MkCommit(MkStorage strg,
String login,
Coordinates crds,
String commitsha)
Public constructor.
|
public MkCommit(@NotNull(message="strg can\'t be NULL")
MkStorage strg,
@NotNull(message="login can\'t be NULL")
String login,
@NotNull(message="crds can\'t be NULL")
Coordinates crds,
@NotNull(message="identifier can\'t be NULL")
String commitsha)
strg - The storage.login - The login namecrds - Credentialcommitsha - Commit's sha.@NotNull(message="repository is never NULL") public final Repo repo()
Commit@NotNull(message="sha is never NULL") public final String sha()
Commit@NotNull(message="JSON is never NULL")
public final javax.json.JsonObject json()
throws IOException
JsonReadablejson in interface JsonReadableIOException - If there is any I/O problempublic final int compareTo(Commit commit)
compareTo in interface Comparable<Commit>Copyright © 2012–2014 jcabi.com. All rights reserved.