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 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
API_MODULE, batchModule, httpModule, sshModule, sysModule -
Constructor Summary
ConstructorsConstructorDescriptionTestServerPlugin(String name, String pluginCanonicalWebUrl, PluginUser user, ClassLoader classLoader, String sysName, String httpName, String sshName, Path dataDir) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidvoidMethods inherited from class com.google.gerrit.server.plugins.ServerPlugin
add, getApiInjector, getApiModule, getApiVersion, getHttpInjector, getSshInjector, getSysInjector, loadMethods inherited from class com.google.gerrit.server.plugins.Plugin
getApiType, getCacheKey, getCleanupHandle, getName, getSrcFile, isDisabled, setCleanupHandle, toString
-
Constructor Details
-
TestServerPlugin
public TestServerPlugin(String name, String pluginCanonicalWebUrl, PluginUser user, ClassLoader classLoader, String sysName, String httpName, String sshName, Path dataDir) throws InvalidPluginException - Throws:
InvalidPluginException
-
-
Method Details
-
getVersion
- Overrides:
getVersionin classServerPlugin
-
canReload
protected boolean canReload()- Overrides:
canReloadin classServerPlugin
-
start
- Overrides:
startin classServerPlugin- Throws:
Exception
-
stop
- Overrides:
stopin classServerPlugin
-
getContentScanner
- Overrides:
getContentScannerin classServerPlugin
-