public class GetDiffPreferences extends java.lang.Object implements RestReadView<ConfigResource>
| Modifier and Type | Method and Description |
|---|---|
DiffPreferencesInfo |
apply(ConfigResource configResource)
Process the view operation by reading from the resource.
|
public DiffPreferencesInfo apply(ConfigResource configResource) throws BadRequestException, ResourceConflictException, java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
RestReadViewapply in interface RestReadView<ConfigResource>configResource - resource to read.BinaryResult to avoid automatic conversion
to JSON.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.java.io.IOExceptionorg.eclipse.jgit.errors.ConfigInvalidException