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