Class BundlePluginInfo

java.lang.Object
net.solarnetwork.node.setup.BundlePluginInfo
All Implemented Interfaces:
PluginInfo

public class BundlePluginInfo extends Object implements PluginInfo
PluginInfo implementation that wraps a Bundle.
Version:
1.0
Author:
matt
  • Constructor Details

    • BundlePluginInfo

      public BundlePluginInfo(org.osgi.framework.Bundle bundle)
      Construct with a Bundle.
      Parameters:
      bundle - the bundle
  • Method Details

    • getName

      public String getName()
      Description copied from interface: PluginInfo
      Get a name of the plugin.
      Specified by:
      getName in interface PluginInfo
      Returns:
      the name
    • getDescription

      public String getDescription()
      Description copied from interface: PluginInfo
      Get a description of the plugin.
      Specified by:
      getDescription in interface PluginInfo
      Returns:
      the description
    • getLocalizedName

      public String getLocalizedName(Locale locale)
      Description copied from interface: PluginInfo
      Get a localized name of the plugin.
      Specified by:
      getLocalizedName in interface PluginInfo
      Parameters:
      locale - the desired locale
      Returns:
      the name
    • getLocalizedDescription

      public String getLocalizedDescription(Locale locale)
      Description copied from interface: PluginInfo
      Get a localized description of the plugin.
      Specified by:
      getLocalizedDescription in interface PluginInfo
      Parameters:
      locale - the desired locale
      Returns:
      the description