|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.AbstractModelObject
hudson.PluginManager
org.jvnet.hudson.test.TestPluginManager
public class TestPluginManager
PluginManager to speed up unit tests.
Instead of loading every plugin for every test case, this allows them to reuse a single plugin manager.
TODO: Plugin start/stop/postInitialize invocation semantics gets different. Perhaps
HudsonTestCase.useLocalPluginManager| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.PluginManager |
|---|
hudson.PluginManager.FailedPlugin, hudson.PluginManager.UberClassLoader |
| Field Summary | |
|---|---|
static hudson.PluginManager |
INSTANCE
|
| Fields inherited from class hudson.PluginManager |
|---|
activePlugins, context, failedPlugins, FAST_LOOKUP, plugins, pluginUploaded, rootDir, uberClassLoader |
| Method Summary | |
|---|---|
protected Collection<String> |
loadBundledPlugins()
|
void |
stop()
|
| Methods inherited from class hudson.PluginManager |
|---|
copyBundledPlugin, createPluginStrategy, discover, doInstall, doProxyConfigure, doSiteConfigure, doUpdateSources, doUploadPlugin, dynamicLoad, getDisplayName, getFailedPlugins, getPlugin, getPlugin, getPlugins, getPlugins, getPluginStrategy, getProxyDescriptor, getSearchUrl, initTasks, isPluginUploaded, whichPlugin |
| Methods inherited from class hudson.model.AbstractModelObject |
|---|
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final hudson.PluginManager INSTANCE
| Method Detail |
|---|
protected Collection<String> loadBundledPlugins()
throws Exception
loadBundledPlugins in class hudson.PluginManagerExceptionpublic void stop()
stop in class hudson.PluginManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||