@Immutable @Loggable(value=1) public final class SfComment extends Object implements Comment
Comment.Smart
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Comment cmt) |
Issue |
issue()
The issue it's in.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
int |
number()
Number.
|
void |
patch(javax.json.JsonObject json)
Patch using this JSON object.
|
void |
remove()
Delete the comment.
|
String |
toString() |
public SfComment(Comment cmt)
cmt
- The original commentpublic int number()
Comment
public void remove() throws IOException
Comment
remove
in interface Comment
IOException
- If there is any I/O problempublic int compareTo(Comment cmt)
compareTo
in interface Comparable<Comment>
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() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.