Class ChangeMessageApi.NotImplemented
- java.lang.Object
-
- com.google.gerrit.extensions.api.changes.ChangeMessageApi.NotImplemented
-
- All Implemented Interfaces:
ChangeMessageApi
- Enclosing interface:
- ChangeMessageApi
public static class ChangeMessageApi.NotImplemented extends Object implements 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 Constructor Description NotImplemented()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeMessageInfo
delete(DeleteChangeMessageInput input)
Deletes a change message by replacing its message.ChangeMessageInfo
get()
Gets one change message.
-
-
-
Method Detail
-
get
public ChangeMessageInfo get() throws RestApiException
Description copied from interface:ChangeMessageApi
Gets one change message.- Specified by:
get
in interfaceChangeMessageApi
- Throws:
RestApiException
-
delete
public ChangeMessageInfo delete(DeleteChangeMessageInput input) throws RestApiException
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
-
-