hudson
Class LocalPluginManager

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.PluginManager
          extended by hudson.LocalPluginManager
All Implemented Interfaces:
ModelObject, SearchableModelObject, SearchItem, OnMaster

public class LocalPluginManager
extends PluginManager

PluginManager

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.PluginManager
PluginManager.FailedPlugin, PluginManager.PluginCycleDependenciesMonitor, PluginManager.PluginUpdateMonitor, PluginManager.UberClassLoader
 
Field Summary
 
Fields inherited from class hudson.PluginManager
activePlugins, CONFIGURE_UPDATECENTER, context, failedPlugins, FAST_LOOKUP, plugins, pluginUploaded, rootDir, uberClassLoader, UPLOAD_PLUGINS
 
Constructor Summary
LocalPluginManager(File rootDir)
           
LocalPluginManager(Jenkins jenkins)
           
 
Method Summary
protected  Collection<String> loadBundledPlugins()
          If the war file has any "/WEB-INF/plugins/*.jpi", extract them into the plugin directory.
 
Methods inherited from class hudson.PluginManager
copyBundledPlugin, createPluginStrategy, discover, doInstall, doInstallNecessaryPlugins, doPrevalidateConfig, doProxyConfigure, doSiteConfigure, doUpdateSources, doUploadPlugin, dynamicLoad, getApi, getDisplayName, getFailedPlugins, getPlugin, getPlugin, getPlugins, getPlugins, getPluginStrategy, getProxyDescriptor, getSearchUrl, initTasks, isPluginUploaded, parseRequestedPlugins, prevalidateConfig, stop, 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
 

Constructor Detail

LocalPluginManager

public LocalPluginManager(Jenkins jenkins)

LocalPluginManager

public LocalPluginManager(File rootDir)
Method Detail

loadBundledPlugins

protected Collection<String> loadBundledPlugins()
If the war file has any "/WEB-INF/plugins/*.jpi", extract them into the plugin directory.

Specified by:
loadBundledPlugins in class PluginManager
Returns:
File names of the bundled plugins. Like {"ssh-slaves.jpi","subvesrion.jpi"}


Copyright © 2004-2013. All Rights Reserved.