public class ClassPathPluginLoader extends java.lang.Object implements PluginLoader
| Constructor and Description |
|---|
ClassPathPluginLoader() |
ClassPathPluginLoader(java.lang.String fileNameToLoad) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDynamicPluginLoader() |
java.lang.Iterable<Plugin> |
loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
Loads all plugins that can be installed in the plugin system.
|
java.lang.Iterable<Plugin> |
loadFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
Load all newly found plugins that can be installed in the plugin system.
|
void |
removePlugin(Plugin plugin)
Remove a specific plugin
|
boolean |
supportsAddition() |
boolean |
supportsRemoval() |
public ClassPathPluginLoader()
public ClassPathPluginLoader(java.lang.String fileNameToLoad)
public java.lang.Iterable<Plugin> loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory) throws PluginParseException
PluginLoaderloadAllPlugins in interface PluginLoadermoduleDescriptorFactory - the factory for module descriptorsPluginParseException - if any error occurred loading pluginspublic boolean supportsRemoval()
supportsRemoval in interface PluginLoaderpublic boolean supportsAddition()
supportsAddition in interface PluginLoaderpublic boolean isDynamicPluginLoader()
isDynamicPluginLoader in interface PluginLoadertrue if this plugin loader can load plugins dynamicallypublic java.lang.Iterable<Plugin> loadFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
PluginLoaderloadFoundPlugins in interface PluginLoadermoduleDescriptorFactory - the factory for module descriptorspublic void removePlugin(Plugin plugin) throws PluginException
PluginLoaderremovePlugin in interface PluginLoaderPluginExceptionCopyright © 2013 Atlassian. All Rights Reserved.