public final class PermissionCheckingPluginLoader extends ForwardingPluginLoader
| Constructor and Description |
|---|
PermissionCheckingPluginLoader(PluginLoader delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
discardPlugin(Plugin plugin)
Notify the PluginLoader that the system will not be loading the given plugin.
|
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
|
canLoad, delegate, isDynamicPluginLoader, supportsAddition, supportsRemovalpublic PermissionCheckingPluginLoader(PluginLoader delegate)
public Iterable<Plugin> loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory) throws PluginParseException
PluginLoaderloadAllPlugins in interface PluginLoaderloadAllPlugins in class ForwardingPluginLoadermoduleDescriptorFactory - the factory for module descriptorsPluginParseException - if any error occurred loading pluginspublic Iterable<Plugin> loadFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory) throws PluginParseException
PluginLoaderloadFoundPlugins in interface PluginLoaderloadFoundPlugins in class ForwardingPluginLoadermoduleDescriptorFactory - the factory for module descriptorsPluginParseException - if any error occurred loading pluginspublic void removePlugin(Plugin plugin) throws PluginException
PluginLoaderremovePlugin in interface PluginLoaderremovePlugin in class ForwardingPluginLoaderPluginExceptionpublic void discardPlugin(Plugin plugin) throws PluginException
DiscardablePluginLoaderdiscardPlugin in interface DiscardablePluginLoaderdiscardPlugin in class ForwardingPluginLoaderPluginExceptionCopyright © 2014 Atlassian. All rights reserved.