@Immutable public interface RepoCommit extends Comparable<RepoCommit>, JsonReadable
The repo commit exposes all available properties through its
json()
method. However, it is recommended to use its
"smart" decorator, which helps you to get access to all JSON properties,
for example:
URL url = new RepoCommit.Smart(commit).url();
Modifier and Type | Interface and Description |
---|---|
static class |
RepoCommit.Smart
Smart commit.
|
Modifier and Type | Method and Description |
---|---|
Repo |
repo()
The repo we're in.
|
String |
sha()
SHA of it.
|
compareTo
json
Copyright © 2012–2014 jcabi.com. All rights reserved.