@Immutable public interface Commit extends Comparable<Commit>, JsonReadable
The 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 Commit.Smart(commit).url();
Modifier and Type | Interface and Description |
---|---|
static class |
Commit.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.