Package com.jcabi.github
Class Label.Unmodified
- java.lang.Object
-
- com.jcabi.github.Label.Unmodified
-
- All Implemented Interfaces:
JsonPatchable,JsonReadable,Label,Comparable<Label>
- Enclosing interface:
- Label
@Immutable @Loggable(1) public static final class Label.Unmodified extends Object implements Label
Unmodified Label with extra features.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jcabi.github.Label
Label.Smart, Label.Unmodified
-
-
Constructor Summary
Constructors Constructor Description Unmodified(Repo rep, String object)Public ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Label label)javax.json.JsonObjectjson()Describe it in a JSON object.Stringname()Name of it.voidpatch(javax.json.JsonObject json)Patch using this JSON object.Reporepo()The repo we're in.
-
-
-
Method Detail
-
compareTo
public int compareTo(Label label)
- Specified by:
compareToin interfaceComparable<Label>
-
patch
public void patch(javax.json.JsonObject json) throws IOExceptionDescription copied from interface:JsonPatchablePatch using this JSON object.- Specified by:
patchin interfaceJsonPatchable- Parameters:
json- JSON object- Throws:
IOException- If there is any I/O problem
-
json
public javax.json.JsonObject json()
Description copied from interface:JsonReadableDescribe it in a JSON object.- Specified by:
jsonin interfaceJsonReadable- Returns:
- JSON object
-
-