public class GetServerInfo extends Object implements RestReadView<ConfigResource>
| Constructor and Description |
|---|
GetServerInfo(org.eclipse.jgit.lib.Config config,
AccountVisibilityProvider accountVisibilityProvider,
AuthConfig authConfig,
Realm realm,
PluginMapContext<DownloadScheme> downloadSchemes,
PluginMapContext<DownloadCommand> downloadCommands,
PluginMapContext<CloneCommand> cloneCommands,
PluginSetContext<WebUiPlugin> webUiPlugins,
AllowedFormats archiveFormats,
AllProjectsName allProjectsName,
AllUsersName allUsersName,
String anonymousCowardName,
PluginItemContext<AvatarProvider> avatar,
boolean enableSignedPush,
QueryDocumentationExecutor docSearcher,
ProjectCache projectCache,
AgreementJson agreementJson,
ChangeIndexCollection indexes,
SitePaths sitePaths) |
| Modifier and Type | Method and Description |
|---|---|
ServerInfo |
apply(ConfigResource rsrc)
Process the view operation by reading from the resource.
|
@Inject
public GetServerInfo(org.eclipse.jgit.lib.Config config,
AccountVisibilityProvider accountVisibilityProvider,
AuthConfig authConfig,
Realm realm,
PluginMapContext<DownloadScheme> downloadSchemes,
PluginMapContext<DownloadCommand> downloadCommands,
PluginMapContext<CloneCommand> cloneCommands,
PluginSetContext<WebUiPlugin> webUiPlugins,
AllowedFormats archiveFormats,
AllProjectsName allProjectsName,
AllUsersName allUsersName,
String anonymousCowardName,
PluginItemContext<AvatarProvider> avatar,
boolean enableSignedPush,
QueryDocumentationExecutor docSearcher,
ProjectCache projectCache,
AgreementJson agreementJson,
ChangeIndexCollection indexes,
SitePaths sitePaths)
public ServerInfo apply(ConfigResource rsrc) throws PermissionBackendException
RestReadViewapply in interface RestReadView<ConfigResource>rsrc - resource to read.BinaryResult to avoid automatic conversion
to JSON.PermissionBackendException