@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()
Commentpublic void remove()
throws IOException
Commentremove in interface CommentIOException - 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
JsonPatchablepatch in interface JsonPatchablejson - JSON objectIOException - If there is any I/O problempublic javax.json.JsonObject json()
throws IOException
JsonReadablejson in interface JsonReadableIOException - If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.