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