Package com.jcabi.github
Class Label.Smart
java.lang.Object
com.jcabi.github.Label.Smart
- All Implemented Interfaces:
JsonPatchable,JsonReadable,Label,Comparable<Label>
- Enclosing interface:
- Label
Smart Label with extra features.
- Since:
- 0.1
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jcabi.github.Label
Label.Smart, Label.Unmodified -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Smart
Public ctor.- Parameters:
lbl- Label
-
-
Method Details
-
color
Get its color.- Returns:
- Color of it
- Throws:
IOException- If there is any I/O problem
-
color
Set its color.- Parameters:
color- Color to set- Throws:
IOException- If there is any I/O problem
-
repo
Description copied from interface:LabelThe repo we're in. -
name
Description copied from interface:LabelName of it. -
compareTo
- Specified by:
compareToin interfaceComparable<Label>
-
patch
Description 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
Description copied from interface:JsonReadableDescribe it in a JSON object.- Specified by:
jsonin interfaceJsonReadable- Returns:
- JSON object
- Throws:
IOException- If there is any I/O problem
-