public class GetPreferences extends java.lang.Object implements RestReadView<ConfigResource>
Constructor and Description |
---|
GetPreferences(GitRepositoryManager gitMgr,
AllUsersName allUsersName) |
Modifier and Type | Method and Description |
---|---|
GeneralPreferencesInfo |
apply(ConfigResource rsrc)
Process the view operation by reading from the resource.
|
@Inject public GetPreferences(GitRepositoryManager gitMgr, AllUsersName allUsersName)
public GeneralPreferencesInfo apply(ConfigResource rsrc) throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
RestReadView
apply
in interface RestReadView<ConfigResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException