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(OutputStream displayOutputStream) |
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) throws UnsupportedEncodingException
apply in interface com.google.gerrit.extensions.restapi.RestReadView<com.google.gerrit.extensions.restapi.TopLevelResource>UnsupportedEncodingExceptionpublic com.google.gson.JsonElement display(OutputStream displayOutputStream) throws UnsupportedEncodingException
UnsupportedEncodingException