@Immutable @Loggable(value=1) public class RtMilestone extends Object implements Milestone
Milestone.Smart
CLOSED_STATE, OPEN_STATE
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Milestone milestone) |
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
int |
number()
Get its number.
|
void |
patch(javax.json.JsonObject json)
Patch using this JSON object.
|
Repo |
repo()
Repository we're in.
|
String |
toString() |
public final int number()
Milestone
public final javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problempublic final void patch(@NotNull(message="JSON object can\'t be NULL") javax.json.JsonObject json) throws IOException
JsonPatchable
patch
in interface JsonPatchable
json
- JSON objectIOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.