public static class Submit.CurrentRevision extends Object implements RestModifyView<ChangeResource,SubmitInput>
| Modifier and Type | Method and Description |
|---|---|
ChangeInfo |
apply(ChangeResource rsrc,
SubmitInput input)
Process the view operation by altering the resource.
|
public ChangeInfo apply(ChangeResource rsrc, SubmitInput input) throws RestApiException, org.eclipse.jgit.errors.RepositoryNotFoundException, IOException, PermissionBackendException, UpdateException, org.eclipse.jgit.errors.ConfigInvalidException
RestModifyViewapply in interface RestModifyView<ChangeResource,SubmitInput>rsrc - resource to modify.input - input after parsing from request.BinaryResult to avoid automatic conversion
to JSON.AuthException - the client is not permitted to access this view.BadRequestException - the request was incorrectly specified and cannot be handled by this
view.ResourceConflictException - the resource state does not permit this view to make the
changes at this time.RestApiExceptionorg.eclipse.jgit.errors.RepositoryNotFoundExceptionIOExceptionPermissionBackendExceptionUpdateExceptionorg.eclipse.jgit.errors.ConfigInvalidException