public class ListPlugins extends java.lang.Object implements RestReadView<TopLevelResource>
Modifier | Constructor and Description |
---|---|
protected |
ListPlugins(PluginLoader pluginLoader) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
apply(TopLevelResource resource)
Process the view operation by reading from the resource.
|
java.util.SortedMap<java.lang.String,com.google.gerrit.server.plugins.ListPlugins.PluginInfo> |
display(java.io.PrintWriter stdout) |
OutputFormat |
getFormat() |
ListPlugins |
setFormat(OutputFormat fmt) |
@Inject protected ListPlugins(PluginLoader pluginLoader)
public OutputFormat getFormat()
public ListPlugins setFormat(OutputFormat fmt)
public java.lang.Object apply(TopLevelResource resource)
RestReadView
apply
in interface RestReadView<TopLevelResource>
resource
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.public java.util.SortedMap<java.lang.String,com.google.gerrit.server.plugins.ListPlugins.PluginInfo> display(java.io.PrintWriter stdout)