Class AddSubgroups.UpdateSubgroup
- java.lang.Object
-
- com.google.gerrit.server.restapi.group.AddSubgroups.UpdateSubgroup
-
- All Implemented Interfaces:
RestModifyView<SubgroupResource,AddSubgroups.Input>,RestView<SubgroupResource>
- Enclosing class:
- AddSubgroups
public static class AddSubgroups.UpdateSubgroup extends Object implements RestModifyView<SubgroupResource,AddSubgroups.Input>
-
-
Constructor Summary
Constructors Constructor Description UpdateSubgroup(com.google.inject.Provider<GetSubgroup> get)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupInfoapply(SubgroupResource resource, AddSubgroups.Input input)Process the view operation by altering the resource.
-
-
-
Constructor Detail
-
UpdateSubgroup
@Inject public UpdateSubgroup(com.google.inject.Provider<GetSubgroup> get)
-
-
Method Detail
-
apply
public GroupInfo apply(SubgroupResource resource, AddSubgroups.Input input) throws PermissionBackendException
Description copied from interface:RestModifyViewProcess the view operation by altering the resource.- Specified by:
applyin interfaceRestModifyView<SubgroupResource,AddSubgroups.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
-
-