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.CommentApi
CommentApi.NotImplemented
-
-
Constructor Summary
Constructors Constructor Description NotImplemented()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentInfodelete(DeleteCommentInput input)Deletes a published comment of a revision.CommentInfoget()
-
-
-
Method Detail
-
get
public CommentInfo get() throws RestApiException
- Specified by:
getin interfaceCommentApi- Throws:
RestApiException
-
delete
public 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 interfaceCommentApi- Returns:
- the comment with its message updated.
- Throws:
RestApiException
-
-