public class GetPreferences extends 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 IOException, org.eclipse.jgit.errors.ConfigInvalidException
RestReadView
apply
in interface RestReadView<ConfigResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.IOException
org.eclipse.jgit.errors.ConfigInvalidException