Class PluginManager.PluginInfo

java.lang.Object
de.iip_ecosphere.platform.support.plugins.PluginManager.PluginInfo
Enclosing class:
PluginManager

public static class PluginManager.PluginInfo extends Object
Collects information about a plugin.
Author:
Holger Eichelberger, SSE
  • Field Details

  • Constructor Details

    • PluginInfo

      private PluginInfo(Supplier<PluginSetupDescriptor> supplier)
      Creates an instance for local setup descriptors.
      Parameters:
      supplier - the supplier to create the descriptor
    • PluginInfo

      private PluginInfo(File file, Supplier<PluginSetupDescriptor> supplier, int sequenceNr, List<String> pluginIds)
      Creates an instance.
      Parameters:
      file - the file path to the plugin
      supplier - the setup descriptor supplier
      sequenceNr - the indicative plugin loading sequence number
      pluginIds - the dependent plugin ids to be considered, may be null
  • Method Details

    • getName

      public String getName()
      Returns the name of the plugin.
      Returns:
      the name
    • getSequenceNr

      public int getSequenceNr()
      Returns the initial loading sequence number.
      Returns:
      the initial sequence number
    • hasPluginIds

      public boolean hasPluginIds()
      Returns whether this plugin has dependent plugin ids.
      Returns:
      true for dependent plugin ids, false else