Class DeleteSubgroups.DeleteSubgroup
- java.lang.Object
-
- com.google.gerrit.server.restapi.group.DeleteSubgroups.DeleteSubgroup
-
- All Implemented Interfaces:
RestModifyView<SubgroupResource,AddSubgroups.Input>
,RestView<SubgroupResource>
- Enclosing class:
- DeleteSubgroups
public static class DeleteSubgroups.DeleteSubgroup extends Object implements RestModifyView<SubgroupResource,AddSubgroups.Input>
-
-
Constructor Summary
Constructors Constructor Description DeleteSubgroup(com.google.inject.Provider<DeleteSubgroups> delete)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<?>
apply(SubgroupResource resource, AddSubgroups.Input input)
Process the view operation by altering the resource.
-
-
-
Constructor Detail
-
DeleteSubgroup
@Inject public DeleteSubgroup(com.google.inject.Provider<DeleteSubgroups> delete)
-
-
Method Detail
-
apply
public Response<?> apply(SubgroupResource resource, AddSubgroups.Input input) throws AuthException, MethodNotAllowedException, UnprocessableEntityException, ResourceNotFoundException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<SubgroupResource,AddSubgroups.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:
AuthException
- the client is not permitted to access this view.MethodNotAllowedException
UnprocessableEntityException
ResourceNotFoundException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
-
-