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 GroupInfoapply(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:RestReadViewProcess the view operation by reading from the resource.- Specified by:
applyin interfaceRestReadView<GroupResource>- Parameters:
resource- resource to read.- Returns:
- result to return to the client. Use
BinaryResultto avoid automatic conversion to JSON. - Throws:
com.google.gerrit.server.restapi.group.NotInternalGroupExceptionResourceNotFoundExceptionPermissionBackendException
-
-