public class SetDiffPreferences extends Object implements RestModifyView<ConfigResource,DiffPreferencesInfo>
| Modifier and Type | Method and Description |
|---|---|
DiffPreferencesInfo |
apply(ConfigResource configResource,
DiffPreferencesInfo input)
Process the view operation by altering the resource.
|
public DiffPreferencesInfo apply(ConfigResource configResource, DiffPreferencesInfo input) throws BadRequestException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
RestModifyViewapply in interface RestModifyView<ConfigResource,DiffPreferencesInfo>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