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 boolean
void
void
Methods inherited from class com.google.gerrit.server.plugins.ServerPlugin
add, getApiInjector, getApiModule, getApiVersion, getHttpInjector, getSshInjector, getSysInjector, load
Methods 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:
getVersion
in classServerPlugin
-
canReload
protected boolean canReload()- Overrides:
canReload
in classServerPlugin
-
start
- Overrides:
start
in classServerPlugin
- Throws:
Exception
-
stop
- Overrides:
stop
in classServerPlugin
-
getContentScanner
- Overrides:
getContentScanner
in classServerPlugin
-