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 ChangeMessageInfoapply(ChangeMessageResource resource)Process the view operation by reading from the resource.
-
-
-
Method Detail
-
apply
public ChangeMessageInfo apply(ChangeMessageResource resource)
Description copied from interface:RestReadViewProcess the view operation by reading from the resource.- Specified by:
applyin interfaceRestReadView<ChangeMessageResource>- Parameters:
resource- resource to read.- Returns:
- result to return to the client. Use
BinaryResultto avoid automatic conversion to JSON.
-
-