Class ListTopMenus
- java.lang.Object
-
- com.google.gerrit.server.restapi.config.ListTopMenus
-
- All Implemented Interfaces:
RestReadView<ConfigResource>
,RestView<ConfigResource>
public class ListTopMenus extends Object implements RestReadView<ConfigResource>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<List<TopMenu.MenuEntry>>
apply(ConfigResource resource)
Process the view operation by reading from the resource.
-
-
-
Method Detail
-
apply
public Response<List<TopMenu.MenuEntry>> apply(ConfigResource resource)
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<ConfigResource>
- Parameters:
resource
- resource to read.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON.
-
-