@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface Export
Plugins or extensions using auto-registration should apply this annotation to any non-abstract class they want exported for access.
For SSH commands the @Export annotation names the subcommand:
@Export("print") class MyCommand extends SshCommand {For HTTP servlets, the @Export annotation names the URL the servlet is bound to, relative to the plugin or extension's namespace within the Gerrit container.
@Export("/index.html") class ShowIndexHtml extends HttpServlet {
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value |