Package com.google.gerrit.server.plugins
Class TestServerPlugin
java.lang.Object
com.google.gerrit.server.plugins.Plugin
com.google.gerrit.server.plugins.ServerPlugin
com.google.gerrit.server.plugins.TestServerPlugin
- 
Nested Class SummaryNested classes/interfaces inherited from class com.google.gerrit.server.plugins.PluginPlugin.ApiType, Plugin.CacheKey
- 
Field SummaryFields inherited from class com.google.gerrit.server.plugins.ServerPluginAPI_MODULE, batchModule, httpModule, sshModule, sysModuleFields inherited from class com.google.gerrit.server.plugins.Pluginmanager, reloadableHandles
- 
Constructor SummaryConstructorsConstructorDescriptionTestServerPlugin(String name, String pluginCanonicalWebUrl, PluginUser user, PluginContentScanner scanner, ClassLoader classLoader, String sysName, String httpName, String sshName, Path dataDir) TestServerPlugin(String name, String pluginCanonicalWebUrl, PluginUser user, ClassLoader classLoader, String sysName, String httpName, String sshName, Path dataDir) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanvoidvoidMethods inherited from class com.google.gerrit.server.plugins.ServerPluginadd, getApiInjector, getApiModule, getApiVersion, getContentScanner, getHttpInjector, getSshInjector, getSysInjector, loadMethods inherited from class com.google.gerrit.server.plugins.PlugingetApiType, getCacheKey, getCleanupHandle, getName, getSrcFile, isDisabled, setCleanupHandle, toString
- 
Constructor Details- 
TestServerPluginpublic TestServerPlugin(String name, String pluginCanonicalWebUrl, PluginUser user, ClassLoader classLoader, String sysName, String httpName, String sshName, Path dataDir) throws InvalidPluginException - Throws:
- InvalidPluginException
 
- 
TestServerPluginpublic TestServerPlugin(String name, String pluginCanonicalWebUrl, PluginUser user, PluginContentScanner scanner, ClassLoader classLoader, String sysName, String httpName, String sshName, Path dataDir) throws InvalidPluginException - Throws:
- InvalidPluginException
 
 
- 
- 
Method Details- 
getVersion- Overrides:
- getVersionin class- ServerPlugin
 
- 
canReloadprotected boolean canReload()- Overrides:
- canReloadin class- ServerPlugin
 
- 
start- Overrides:
- startin class- ServerPlugin
- Throws:
- Exception
 
- 
stop- Overrides:
- stopin class- ServerPlugin
 
 
-