Uses of Class
org.pf4j.PluginWrapper
Packages that use PluginWrapper
-
Uses of PluginWrapper in org.pf4j
Fields in org.pf4j declared as PluginWrapperModifier and TypeFieldDescriptionprivate PluginWrapperPluginStateEvent.pluginprotected PluginWrapperPlugin.wrapperWrapper of the plugin.Fields in org.pf4j with type parameters of type PluginWrapperModifier and TypeFieldDescriptionprotected Map<String, PluginWrapper> AbstractPluginManager.pluginsA map of plugins this manager is responsible for (the key is the 'pluginId').protected List<PluginWrapper> AbstractPluginManager.resolvedPluginsA list with all resolved plugins (resolved dependency).protected List<PluginWrapper> AbstractPluginManager.startedPluginsA list with started plugins.protected List<PluginWrapper> AbstractPluginManager.unresolvedPluginsA list with unresolved plugins (unresolved dependency).Methods in org.pf4j that return PluginWrapperModifier and TypeMethodDescriptionRetrieves the plugin with this id, or null if the plugin does not exist.PluginStateEvent.getPlugin()final PluginWrapperPlugin.getWrapper()Retrieves the wrapper of this plug-in.protected PluginWrapperAbstractPluginManager.loadPluginFromPath(Path pluginPath) protected PluginWrapperDefaultPluginManager.loadPluginFromPath(Path pluginPath) Load a plugin from disk.AbstractPluginManager.whichPlugin(Class<?> clazz) PluginManager.whichPlugin(Class<?> clazz) Retrieves thePluginWrapperthat loaded the given class 'clazz'.Methods in org.pf4j that return types with arguments of type PluginWrapperModifier and TypeMethodDescriptionAbstractPluginManager.getPlugins()Returns a copy of plugins.AbstractPluginManager.getPlugins(PluginState pluginState) Returns a copy of plugins with that state.PluginManager.getPlugins()Retrieves all plugins.PluginManager.getPlugins(PluginState pluginState) Retrieves all plugins with this state.AbstractPluginManager.getResolvedPlugins()PluginManager.getResolvedPlugins()Retrieves all resolved plugins (with resolved dependency).AbstractPluginManager.getStartedPlugins()PluginManager.getStartedPlugins()Retrieves all started plugins.AbstractPluginManager.getUnresolvedPlugins()PluginManager.getUnresolvedPlugins()Retrieves all unresolved plugins (with unresolved dependency).Methods in org.pf4j with parameters of type PluginWrapperModifier and TypeMethodDescriptionDefaultPluginFactory.create(PluginWrapper pluginWrapper) Creates a plugin instance.PluginFactory.create(PluginWrapper pluginWrapper) protected booleanAbstractPluginManager.isPluginValid(PluginWrapper pluginWrapper) Check if this plugin is valid (satisfies "requires" param) for a given system version.Constructors in org.pf4j with parameters of type PluginWrapperModifierConstructorDescriptionPlugin(PluginWrapper wrapper) Constructor to be used by plugin manager for plugin instantiation.PluginStateEvent(PluginManager source, PluginWrapper plugin, PluginState oldState)