Class GetOwner
- java.lang.Object
-
- com.google.gerrit.server.restapi.group.GetOwner
-
- All Implemented Interfaces:
RestReadView<GroupResource>
,RestView<GroupResource>
public class GetOwner 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 com.google.gerrit.server.restapi.group.NotInternalGroupException, ResourceNotFoundException, 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:
com.google.gerrit.server.restapi.group.NotInternalGroupException
ResourceNotFoundException
PermissionBackendException
-
-