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
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.CommentApi
CommentApi.NotImplemented
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete
(DeleteCommentInput input) Deletes a published comment of a revision.get()
-
Constructor Details
-
NotImplemented
public NotImplemented()
-
-
Method Details
-
get
- Specified by:
get
in interfaceCommentApi
- Throws:
RestApiException
-
delete
Description copied from interface:CommentApi
Deletes 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:
delete
in interfaceCommentApi
- Returns:
- the comment with its message updated.
- Throws:
RestApiException
-