Class PluginManager

java.lang.Object
ru.bgcrm.plugin.PluginManager

public class PluginManager extends Object
Singleton plugin loader and storage.
  • Field Details

    • ERP_PACKAGES

      public static final String[] ERP_PACKAGES
  • Method Details

    • init

      public static void init() throws Exception
      Throws:
      Exception
    • getInstance

      public static PluginManager getInstance()
    • getFullSortedPluginList

      public List<Plugin> getFullSortedPluginList()
      Complete list of all plugins. First kernel plugin, after the rest alphabetically sorted by ID.
      Returns:
    • getPluginList

      public List<Plugin> getPluginList()
      List of enabled plugins.
      Returns:
    • getInactivePluginList

      public List<Plugin> getInactivePluginList()
      List of not active plugins that can be activated.
      Returns:
    • getPluginMap

      public Map<String,Plugin> getPluginMap()
      Map of enabled plugins, key Plugin.getId().
      Returns:
    • getFullPluginMap

      public Map<String,Plugin> getFullPluginMap()
      Complete map of all plugins, key Plugin.getId().
      Returns: