Class CommentApi.NotImplemented
- java.lang.Object
- 
- com.google.gerrit.extensions.api.changes.CommentApi.NotImplemented
 
- 
- All Implemented Interfaces:
- CommentApi
 - Direct Known Subclasses:
- DraftApi.NotImplemented
 - Enclosing interface:
- CommentApi
 
 public static class CommentApi.NotImplemented extends Object implements CommentApi A default implementation which allows source compatibility when adding new methods to the interface.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.api.changes.CommentApiCommentApi.NotImplemented
 
- 
 - 
Constructor SummaryConstructors Constructor Description NotImplemented()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentInfodelete(DeleteCommentInput input)Deletes a published comment of a revision.CommentInfoget()
 
- 
- 
- 
Method Detail- 
getpublic CommentInfo get() throws RestApiException - Specified by:
- getin interface- CommentApi
- Throws:
- RestApiException
 
 - 
deletepublic CommentInfo delete(DeleteCommentInput input) throws RestApiException Description copied from interface:CommentApiDeletes a published comment of a revision. For NoteDb, it deletes the comment by rewriting the commit history.Note instead of deleting the whole comment, this endpoint just replaces the comment's message. - Specified by:
- deletein interface- CommentApi
- Returns:
- the comment with its message updated.
- Throws:
- RestApiException
 
 
- 
 
-