public class TestServerPlugin extends ServerPlugin
Plugin.ApiType, Plugin.CacheKey
httpModule, sshModule, sysModule
Constructor and Description |
---|
TestServerPlugin(String name,
String pluginCanonicalWebUrl,
PluginUser user,
ClassLoader classloader,
String sysName,
String httpName,
String sshName) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canReload() |
PluginContentScanner |
getContentScanner() |
String |
getVersion() |
void |
start(PluginGuiceEnvironment env) |
void |
stop(PluginGuiceEnvironment env) |
add, getHttpInjector, getSshInjector, getSysInjector, load
getApiType, getCacheKey, getCleanupHandle, getName, getSrcFile, isDisabled, setCleanupHandle, toString
public TestServerPlugin(String name, String pluginCanonicalWebUrl, PluginUser user, ClassLoader classloader, String sysName, String httpName, String sshName) throws InvalidPluginException
InvalidPluginException
public String getVersion()
getVersion
in class ServerPlugin
protected boolean canReload()
canReload
in class ServerPlugin
public void start(PluginGuiceEnvironment env) throws Exception
start
in class ServerPlugin
Exception
public void stop(PluginGuiceEnvironment env)
stop
in class ServerPlugin
public PluginContentScanner getContentScanner()
getContentScanner
in class ServerPlugin