public class GetServerInfo extends java.lang.Object implements RestReadView<ConfigResource>
Constructor and Description |
---|
GetServerInfo(org.eclipse.jgit.lib.Config config,
AccountVisibilityProvider accountVisibilityProvider,
AuthConfig authConfig,
Realm realm,
DynamicMap<DownloadScheme> downloadSchemes,
DynamicMap<DownloadCommand> downloadCommands,
DynamicMap<CloneCommand> cloneCommands,
DynamicSet<WebUiPlugin> webUiPlugins,
AllowedFormats archiveFormats,
AllProjectsName allProjectsName,
AllUsersName allUsersName,
java.lang.String anonymousCowardName,
DynamicItem<AvatarProvider> avatar,
boolean enableSignedPush,
QueryDocumentationExecutor docSearcher,
NotesMigration migration,
ProjectCache projectCache,
AgreementJson agreementJson,
GerritOptions gerritOptions,
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, DynamicMap<DownloadScheme> downloadSchemes, DynamicMap<DownloadCommand> downloadCommands, DynamicMap<CloneCommand> cloneCommands, DynamicSet<WebUiPlugin> webUiPlugins, AllowedFormats archiveFormats, AllProjectsName allProjectsName, AllUsersName allUsersName, java.lang.String anonymousCowardName, DynamicItem<AvatarProvider> avatar, boolean enableSignedPush, QueryDocumentationExecutor docSearcher, NotesMigration migration, ProjectCache projectCache, AgreementJson agreementJson, GerritOptions gerritOptions, ChangeIndexCollection indexes, SitePaths sitePaths)
public ServerInfo apply(ConfigResource rsrc) throws java.net.MalformedURLException
RestReadView
apply
in interface RestReadView<ConfigResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.java.net.MalformedURLException