public class GetConfig extends java.lang.Object implements RestReadView<ProjectResource>
Constructor and Description |
---|
GetConfig(boolean serverEnableSignedPush,
DynamicMap<ProjectConfigEntry> pluginConfigEntries,
PluginConfigFactory cfgFactory,
AllProjectsName allProjects,
UiActions uiActions,
DynamicMap<RestView<ProjectResource>> views) |
Modifier and Type | Method and Description |
---|---|
ConfigInfo |
apply(ProjectResource resource)
Process the view operation by reading from the resource.
|
@Inject public GetConfig(boolean serverEnableSignedPush, DynamicMap<ProjectConfigEntry> pluginConfigEntries, PluginConfigFactory cfgFactory, AllProjectsName allProjects, UiActions uiActions, DynamicMap<RestView<ProjectResource>> views)
public ConfigInfo apply(ProjectResource resource)
RestReadView
apply
in interface RestReadView<ProjectResource>
resource
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.