Class AddMembers.UpdateMember
- java.lang.Object
-
- com.google.gerrit.server.restapi.group.AddMembers.UpdateMember
-
- All Implemented Interfaces:
RestModifyView<MemberResource,AddMembers.Input>
,RestView<MemberResource>
- Enclosing class:
- AddMembers
public static class AddMembers.UpdateMember extends Object implements RestModifyView<MemberResource,AddMembers.Input>
-
-
Constructor Summary
Constructors Constructor Description UpdateMember(GetMember get)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountInfo
apply(MemberResource resource, AddMembers.Input input)
Process the view operation by altering the resource.
-
-
-
Constructor Detail
-
UpdateMember
@Inject public UpdateMember(GetMember get)
-
-
Method Detail
-
apply
public AccountInfo apply(MemberResource resource, AddMembers.Input input) throws PermissionBackendException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<MemberResource,AddMembers.Input>
- Parameters:
resource
- resource to modify.input
- input after parsing from request.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
PermissionBackendException
-
-