public class Rebuild extends java.lang.Object implements RestModifyView<ChangeResource,Input>
Modifier and Type | Method and Description |
---|---|
BinaryResult |
apply(ChangeResource rsrc,
Input input)
Process the view operation by altering the resource.
|
public BinaryResult apply(ChangeResource rsrc, Input input) throws ResourceNotFoundException, java.io.IOException, com.google.gwtorm.server.OrmException, org.eclipse.jgit.errors.ConfigInvalidException, ResourceConflictException
RestModifyView
apply
in interface RestModifyView<ChangeResource,Input>
rsrc
- resource to modify.input
- input after parsing from request.BinaryResult
to avoid automatic conversion
to JSON.ResourceConflictException
- the resource state does not permit this view to make the
changes at this time.ResourceNotFoundException
java.io.IOException
com.google.gwtorm.server.OrmException
org.eclipse.jgit.errors.ConfigInvalidException