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