Package ru.bgcrm.plugin
Class PluginManager
java.lang.Object
ru.bgcrm.plugin.PluginManager
Singleton plugin loader and storage.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionComplete map of all plugins, keyPlugin.getId()
.Complete list of all plugins.List of not active plugins that can be activated.static PluginManager
List of enabled plugins.Map of enabled plugins, keyPlugin.getId()
.static void
init()
-
Field Details
-
ERP_PACKAGES
-
-
Method Details
-
init
- Throws:
Exception
-
getInstance
-
getFullSortedPluginList
Complete list of all plugins. First kernel plugin, after the rest alphabetically sorted by ID.- Returns:
-
getPluginList
List of enabled plugins.- Returns:
-
getInactivePluginList
List of not active plugins that can be activated.- Returns:
-
getPluginMap
Map of enabled plugins, keyPlugin.getId()
.- Returns:
-
getFullPluginMap
Complete map of all plugins, keyPlugin.getId()
.- Returns:
-