Class GetConfig
- java.lang.Object
-
- com.google.gerrit.server.restapi.project.GetConfig
-
- All Implemented Interfaces:
RestReadView<ProjectResource>
,RestView<ProjectResource>
public class GetConfig extends Object implements RestReadView<ProjectResource>
-
-
Constructor Summary
Constructors Constructor Description GetConfig(boolean serverEnableSignedPush, DynamicMap<ProjectConfigEntry> pluginConfigEntries, PluginConfigFactory cfgFactory, AllProjectsName allProjects, UiActions uiActions, DynamicMap<RestView<ProjectResource>> views)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigInfo
apply(ProjectResource resource)
Process the view operation by reading from the resource.
-
-
-
Constructor Detail
-
GetConfig
@Inject public GetConfig(boolean serverEnableSignedPush, DynamicMap<ProjectConfigEntry> pluginConfigEntries, PluginConfigFactory cfgFactory, AllProjectsName allProjects, UiActions uiActions, DynamicMap<RestView<ProjectResource>> views)
-
-
Method Detail
-
apply
public ConfigInfo apply(ProjectResource resource)
Description copied from interface:RestReadView
Process the view operation by reading from the resource.- Specified by:
apply
in interfaceRestReadView<ProjectResource>
- Parameters:
resource
- resource to read.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON.
-
-