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 AccountInfoapply(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:RestModifyViewProcess the view operation by altering the resource.- Specified by:
applyin interfaceRestModifyView<MemberResource,AddMembers.Input>- Parameters:
resource- resource to modify.input- input after parsing from request.- Returns:
- result to return to the client. Use
BinaryResultto avoid automatic conversion to JSON. - Throws:
PermissionBackendException
-
-