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.String
getClassName()
Retrieves the class name of the plugin.java.lang.String
getDescription(java.util.Locale locale)
Retrieves the localized plugin description.java.lang.String
getName(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:IPluginInfo
Retrieves the localized plugin name.- Specified by:
getName
in interfaceIPluginInfo
- Parameters:
locale
- end-user locale- Returns:
- plugin name
-
getDescription
public java.lang.String getDescription(java.util.Locale locale)
Description copied from interface:IPluginInfo
Retrieves the localized plugin description.- Specified by:
getDescription
in interfaceIPluginInfo
- Parameters:
locale
- end-user locale- Returns:
- plugin description
-
getClassName
public java.lang.String getClassName()
Description copied from interface:IPluginInfo
Retrieves the class name of the plugin. Instance of plugin can be created withClass.forName(info.getClassName());
- Specified by:
getClassName
in interfaceIPluginInfo
- Returns:
- java class name
-
-