public class ListPlugins extends Object implements com.google.gerrit.extensions.restapi.RestReadView<com.google.gerrit.extensions.restapi.TopLevelResource>
Modifier | Constructor and Description |
---|---|
protected |
ListPlugins(PluginLoader pluginLoader) |
Modifier and Type | Method and Description |
---|---|
Object |
apply(com.google.gerrit.extensions.restapi.TopLevelResource resource) |
com.google.gson.JsonElement |
display(PrintWriter stdout) |
OutputFormat |
getFormat() |
ListPlugins |
setFormat(OutputFormat fmt) |
@Inject protected ListPlugins(PluginLoader pluginLoader)
public OutputFormat getFormat()
public ListPlugins setFormat(OutputFormat fmt)
public Object apply(com.google.gerrit.extensions.restapi.TopLevelResource resource)
apply
in interface com.google.gerrit.extensions.restapi.RestReadView<com.google.gerrit.extensions.restapi.TopLevelResource>
public com.google.gson.JsonElement display(PrintWriter stdout)