public interface Comment
Issue.| Modifier and Type | Method and Description |
|---|---|
Instant |
creationDate()
The instant when the comment was created.
|
Issue |
delete()
|
String |
id()
The comment's ID.
|
Issue |
issue()
The
issue on which this comment was created. |
String |
text()
The text content of the comment.
|
Comment |
update(String text)
Updates the text content of this
Comment. |
String id()
Instant creationDate()
String text()
Issue issue()
issue on which this comment was created.issue on which this comment was createdComment update(String text) throws IOException, UnauthorizedException
Comment.text - the new textComment, updatedIOException - if the server is unavailableUnauthorizedException - if the user's Login is unauthorized to perform this
operationIssue delete() throws IOException, UnauthorizedException
Comment from the Issue.
Note: deletion is not permanent; it is possible for an admin to restore a comment deleted with this operation.
Issue to which this comment belongedIOException - if the server is unavailableUnauthorizedException - if the user's Login is unauthorized to perform this
operationCopyright © 2017–2018 George Aristy. All rights reserved.