public class GetOwner extends java.lang.Object implements RestReadView<GroupResource>
Modifier and Type | Method and Description |
---|---|
GroupInfo |
apply(GroupResource resource)
Process the view operation by reading from the resource.
|
public GroupInfo apply(GroupResource resource) throws com.google.gerrit.server.restapi.group.NotInternalGroupException, ResourceNotFoundException, PermissionBackendException
RestReadView
apply
in interface RestReadView<GroupResource>
resource
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.com.google.gerrit.server.restapi.group.NotInternalGroupException
ResourceNotFoundException
PermissionBackendException