Class ChangeMessageApi.NotImplemented
java.lang.Object
com.google.gerrit.extensions.api.changes.ChangeMessageApi.NotImplemented
- All Implemented Interfaces:
ChangeMessageApi
- Enclosing interface:
- ChangeMessageApi
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.ChangeMessageApi
ChangeMessageApi.NotImplemented
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete
(DeleteChangeMessageInput input) Deletes a change message by replacing its message.get()
Gets one change message.
-
Constructor Details
-
NotImplemented
public NotImplemented()
-
-
Method Details
-
get
Description copied from interface:ChangeMessageApi
Gets one change message.- Specified by:
get
in interfaceChangeMessageApi
- Throws:
RestApiException
-
delete
Description copied from interface:ChangeMessageApi
Deletes a change message by replacing its message. For NoteDb, it's implemented by rewriting the commit history of change meta branch.- Specified by:
delete
in interfaceChangeMessageApi
- Returns:
- the change message with its message updated.
- Throws:
RestApiException
-