Class WebUiPlugin
java.lang.Object
com.google.gerrit.extensions.webui.WebUiPlugin
- Direct Known Subclasses:
JavaScriptPlugin
Specifies JavaScript to dynamically load into the web UI.
To automatically register (instead of writing a Guice module), declare the intention with
@Listen, extend the correct class and define a constructor to configure the correct
resource:
@Listen
class MyJs extends JavaScriptPlugin {
MyJs() {
super("hello.js");
}
}
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringReturns path to initialization script within the plugin's JAR.final StringReturns installed name of the plugin that provides this UI feature.static final JavaScriptPlugintoString()