Class GetChangeMessage
- java.lang.Object
-
- com.google.gerrit.server.restapi.change.GetChangeMessage
-
- All Implemented Interfaces:
RestReadView<ChangeMessageResource>
,RestView<ChangeMessageResource>
public class GetChangeMessage extends Object implements RestReadView<ChangeMessageResource>
Gets one change message.
-
-
Constructor Summary
Constructors Constructor Description GetChangeMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangeMessageInfo
apply(ChangeMessageResource resource)
Process the view operation by reading from the resource.
-
-
-
Method Detail
-
apply
public ChangeMessageInfo apply(ChangeMessageResource resource)
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<ChangeMessageResource>
- Parameters:
resource
- resource to read.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON.
-
-