public class GetConfig extends java.lang.Object implements com.google.gerrit.extensions.restapi.RestReadView<ProjectResource>
Constructor and Description |
---|
GetConfig(TransferConfig config,
com.google.gerrit.extensions.registration.DynamicMap<ProjectConfigEntry> pluginConfigEntries,
PluginConfigFactory cfgFactory,
AllProjectsNameProvider allProjects,
com.google.gerrit.extensions.registration.DynamicMap<com.google.gerrit.extensions.restapi.RestView<ProjectResource>> views,
com.google.inject.Provider<CurrentUser> currentUser) |
Modifier and Type | Method and Description |
---|---|
ConfigInfo |
apply(ProjectResource resource) |
@Inject public GetConfig(TransferConfig config, com.google.gerrit.extensions.registration.DynamicMap<ProjectConfigEntry> pluginConfigEntries, PluginConfigFactory cfgFactory, AllProjectsNameProvider allProjects, com.google.gerrit.extensions.registration.DynamicMap<com.google.gerrit.extensions.restapi.RestView<ProjectResource>> views, com.google.inject.Provider<CurrentUser> currentUser)
public ConfigInfo apply(ProjectResource resource)
apply
in interface com.google.gerrit.extensions.restapi.RestReadView<ProjectResource>