public class ListPlugins
extends java.lang.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 |
---|---|
java.lang.Object |
apply(com.google.gerrit.extensions.restapi.TopLevelResource resource) |
com.google.gson.JsonElement |
display(java.io.OutputStream displayOutputStream) |
OutputFormat |
getFormat() |
ListPlugins |
setFormat(OutputFormat fmt) |
@Inject protected ListPlugins(PluginLoader pluginLoader)
public OutputFormat getFormat()
public ListPlugins setFormat(OutputFormat fmt)
public java.lang.Object apply(com.google.gerrit.extensions.restapi.TopLevelResource resource) throws java.io.UnsupportedEncodingException
apply
in interface com.google.gerrit.extensions.restapi.RestReadView<com.google.gerrit.extensions.restapi.TopLevelResource>
java.io.UnsupportedEncodingException
public com.google.gson.JsonElement display(java.io.OutputStream displayOutputStream) throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException