Package com.google.gerrit.server.change
Class ChangeEdits.DeleteFile
- java.lang.Object
-
- com.google.gerrit.server.change.ChangeEdits.DeleteFile
-
- All Implemented Interfaces:
RestModifyView<ChangeResource,ChangeEdits.DeleteFile.Input>
,RestView<ChangeResource>
- Enclosing class:
- ChangeEdits
public static class ChangeEdits.DeleteFile extends Object implements RestModifyView<ChangeResource,ChangeEdits.DeleteFile.Input>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangeEdits.DeleteFile.Input
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<?>
apply(ChangeResource rsrc, ChangeEdits.DeleteFile.Input in)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public Response<?> apply(ChangeResource rsrc, ChangeEdits.DeleteFile.Input in) throws IOException, AuthException, ResourceConflictException, com.google.gwtorm.server.OrmException, PermissionBackendException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<ChangeResource,ChangeEdits.DeleteFile.Input>
- Parameters:
rsrc
- resource to modify.in
- 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.ResourceConflictException
- the resource state does not permit this view to make the changes at this time.IOException
com.google.gwtorm.server.OrmException
PermissionBackendException
-
-