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