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
 
 
 
- 
 public class TestServerPlugin extends ServerPlugin 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.google.gerrit.server.plugins.PluginPlugin.ApiType, Plugin.CacheKey
 
- 
 - 
Field Summary- 
Fields inherited from class com.google.gerrit.server.plugins.ServerPluginhttpModule, sshModule, sysModule
 
- 
 - 
Constructor SummaryConstructors Constructor Description TestServerPlugin(String name, String pluginCanonicalWebUrl, PluginUser user, ClassLoader classloader, String sysName, String httpName, String sshName, Path dataDir)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanReload()PluginContentScannergetContentScanner()StringgetVersion()voidstart(PluginGuiceEnvironment env)voidstop(PluginGuiceEnvironment env)- 
Methods inherited from class com.google.gerrit.server.plugins.ServerPluginadd, getHttpInjector, getSshInjector, getSysInjector, load
 - 
Methods inherited from class com.google.gerrit.server.plugins.PlugingetApiType, getCacheKey, getCleanupHandle, getName, getSrcFile, isDisabled, setCleanupHandle, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
TestServerPluginpublic TestServerPlugin(String name, String pluginCanonicalWebUrl, PluginUser user, ClassLoader classloader, String sysName, String httpName, String sshName, Path dataDir) throws InvalidPluginException - Throws:
- InvalidPluginException
 
 
- 
 - 
Method Detail- 
getVersionpublic String getVersion() - Overrides:
- getVersionin class- ServerPlugin
 
 - 
canReloadprotected boolean canReload() - Overrides:
- canReloadin class- ServerPlugin
 
 - 
startpublic void start(PluginGuiceEnvironment env) throws Exception - Overrides:
- startin class- ServerPlugin
- Throws:
- Exception
 
 - 
stoppublic void stop(PluginGuiceEnvironment env) - Overrides:
- stopin class- ServerPlugin
 
 - 
getContentScannerpublic PluginContentScanner getContentScanner() - Overrides:
- getContentScannerin class- ServerPlugin
 
 
- 
 
-