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.Plugin
Plugin.ApiType, Plugin.CacheKey 
 - 
 
- 
Field Summary
- 
Fields inherited from class com.google.gerrit.server.plugins.ServerPlugin
batchModule, httpModule, sshModule, sysModule 
 - 
 
- 
Constructor Summary
Constructors Constructor Description TestServerPlugin(String name, String pluginCanonicalWebUrl, PluginUser user, ClassLoader classloader, String sysName, String httpName, String sshName, Path dataDir) 
- 
Method Summary
All 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.ServerPlugin
add, getApiVersion, getHttpInjector, getSshInjector, getSysInjector, load 
- 
Methods inherited from class com.google.gerrit.server.plugins.Plugin
getApiType, getCacheKey, getCleanupHandle, getName, getSrcFile, isDisabled, setCleanupHandle, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
TestServerPlugin
public TestServerPlugin(String name, String pluginCanonicalWebUrl, PluginUser user, ClassLoader classloader, String sysName, String httpName, String sshName, Path dataDir) throws InvalidPluginException
- Throws:
 InvalidPluginException
 
 - 
 
- 
Method Detail
- 
getVersion
public String getVersion()
- Overrides:
 getVersionin classServerPlugin
 
- 
canReload
protected boolean canReload()
- Overrides:
 canReloadin classServerPlugin
 
- 
start
public void start(PluginGuiceEnvironment env) throws Exception
- Overrides:
 startin classServerPlugin- Throws:
 Exception
 
- 
stop
public void stop(PluginGuiceEnvironment env)
- Overrides:
 stopin classServerPlugin
 
- 
getContentScanner
public PluginContentScanner getContentScanner()
- Overrides:
 getContentScannerin classServerPlugin
 
 - 
 
 -