@Immutable @Loggable(value=1) public static final class Label.Unmodified extends Object implements Label
Label.Smart, Label.Unmodified
Constructor and Description |
---|
Unmodified(Repo rep,
String object)
Public ctor.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Label label) |
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
String |
name()
Name of it.
|
void |
patch(javax.json.JsonObject json)
Patch using this JSON object.
|
Repo |
repo()
The repo we're in.
|
public int compareTo(Label label)
compareTo
in interface Comparable<Label>
public void patch(javax.json.JsonObject json) throws IOException
JsonPatchable
patch
in interface JsonPatchable
json
- JSON objectIOException
- If there is any I/O problempublic javax.json.JsonObject json()
JsonReadable
json
in interface JsonReadable
Copyright © 2012–2018 jcabi.com. All rights reserved.