Package com.netscape.cmscore.registry
Class PluginInfo
- java.lang.Object
-
- com.netscape.cmscore.registry.PluginInfo
-
- All Implemented Interfaces:
IPluginInfo
public class PluginInfo extends java.lang.Object implements IPluginInfo
The plugin information includes id, name, classname, and description.- Author:
- thomask
-
-
Constructor Summary
Constructors Constructor Description PluginInfo(java.lang.String name, java.lang.String desc, java.lang.String classPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()Retrieves the class name of the plugin.java.lang.StringgetDescription(java.util.Locale locale)Retrieves the localized plugin description.java.lang.StringgetName(java.util.Locale locale)Retrieves the localized plugin name.
-
-
-
Method Detail
-
getName
public java.lang.String getName(java.util.Locale locale)
Description copied from interface:IPluginInfoRetrieves the localized plugin name.- Specified by:
getNamein interfaceIPluginInfo- Parameters:
locale- end-user locale- Returns:
- plugin name
-
getDescription
public java.lang.String getDescription(java.util.Locale locale)
Description copied from interface:IPluginInfoRetrieves the localized plugin description.- Specified by:
getDescriptionin interfaceIPluginInfo- Parameters:
locale- end-user locale- Returns:
- plugin description
-
getClassName
public java.lang.String getClassName()
Description copied from interface:IPluginInfoRetrieves the class name of the plugin. Instance of plugin can be created withClass.forName(info.getClassName());
- Specified by:
getClassNamein interfaceIPluginInfo- Returns:
- java class name
-
-