Package net.solarnetwork.node.setup
Class BundlePluginInfo
java.lang.Object
net.solarnetwork.node.setup.BundlePluginInfo
- All Implemented Interfaces:
PluginInfo
PluginInfo implementation that wraps a
Bundle.- Version:
- 1.0
- Author:
- matt
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a description of the plugin.getLocalizedDescription(Locale locale) Get a localized description of the plugin.getLocalizedName(Locale locale) Get a localized name of the plugin.getName()Get a name of the plugin.
-
Constructor Details
-
BundlePluginInfo
public BundlePluginInfo(org.osgi.framework.Bundle bundle) Construct with a Bundle.- Parameters:
bundle- the bundle
-
-
Method Details
-
getName
Description copied from interface:PluginInfoGet a name of the plugin.- Specified by:
getNamein interfacePluginInfo- Returns:
- the name
-
getDescription
Description copied from interface:PluginInfoGet a description of the plugin.- Specified by:
getDescriptionin interfacePluginInfo- Returns:
- the description
-
getLocalizedName
Description copied from interface:PluginInfoGet a localized name of the plugin.- Specified by:
getLocalizedNamein interfacePluginInfo- Parameters:
locale- the desired locale- Returns:
- the name
-
getLocalizedDescription
Description copied from interface:PluginInfoGet a localized description of the plugin.- Specified by:
getLocalizedDescriptionin interfacePluginInfo- Parameters:
locale- the desired locale- Returns:
- the description
-