public class SetEditPreferences extends Object implements RestModifyView<ConfigResource,EditPreferencesInfo>
| Modifier and Type | Method and Description |
|---|---|
EditPreferencesInfo |
apply(ConfigResource configResource,
EditPreferencesInfo input)
Process the view operation by altering the resource.
|
public EditPreferencesInfo apply(ConfigResource configResource, EditPreferencesInfo input) throws BadRequestException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
RestModifyViewapply in interface RestModifyView<ConfigResource,EditPreferencesInfo>configResource - resource to modify.input - input after parsing from request.BinaryResult to avoid automatic conversion
to JSON.BadRequestException - the request was incorrectly specified and cannot be handled by this
view.IOExceptionorg.eclipse.jgit.errors.ConfigInvalidException