public interface PluginLoader
| Modifier and Type | Method and Description |
|---|---|
boolean |
isDynamicPluginLoader() |
Iterable<Plugin> |
loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory)
Loads all plugins that can be installed in the plugin system.
|
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() |
Iterable<Plugin> loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory) throws PluginParseException
moduleDescriptorFactory - the factory for module descriptorsPluginParseException - if any error occurred loading pluginsIterable<Plugin> loadFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory) throws PluginParseException
moduleDescriptorFactory - the factory for module descriptorsPluginParseException - if any error occurred loading pluginsboolean supportsAddition()
boolean supportsRemoval()
void removePlugin(Plugin plugin) throws PluginException
PluginExceptionboolean isDynamicPluginLoader()
true if this plugin loader can load plugins dynamicallyCopyright © 2014 Atlassian. All rights reserved.