|
2.8.1: 2008-09-10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.basedb.util.PluginConfigInfo
public class PluginConfigInfo
This class should be used to keep information about a plugin configuration
that is loaded from an XML-file. It has a useful method to get all
PlguinConfigInfo
from an XML-document for a certain plugin.
Field Summary | |
---|---|
private String |
description
Description about the configuration |
private String |
name
The name of the configuration |
private int |
orderInXml
In which place the configuration comes in the file. |
private String |
pluginClass
The plugin the configuration can be use with |
Constructor Summary | |
---|---|
PluginConfigInfo(String pluginClassName,
String configName,
String descr)
Constructor to create a new instance with information for a plugin configuration. |
Method Summary | |
---|---|
String |
getDescription()
Gets the description of the configuration |
String |
getName()
Gets the configuration's name |
int |
getOrderInXml()
Gets in wich order the configuration comes in the import file. |
String |
getPluginClass()
Gets the class name of the plugin that this configuration is ment for |
static List<PluginConfigInfo> |
loadConfigurationsForPlugin(Document doc,
String pluginClassName)
Loads PluginConfigInfo objects from xml-document for a plugin. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private String pluginClass
private String name
private String description
private int orderInXml
Constructor Detail |
---|
public PluginConfigInfo(String pluginClassName, String configName, String descr)
pluginClassName
- The class name of PluginDefinition this configuration belongs to,
seePluginConfiguration.getPluginDefinition()
configName
- Name of the plugin configuration,
seeCommonItem.getName()
descr
- Description about the configuration
see CommonItem.getDescription()
Method Detail |
---|
public static List<PluginConfigInfo> loadConfigurationsForPlugin(Document doc, String pluginClassName)
doc
- The xml-documentpluginClassName
- The specific
PluginConfigInfo
or,
null if no configurations were found in the file.public String getPluginClass()
public String getName()
public String getDescription()
public int getOrderInXml()
|
2.8.1: 2008-09-10 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |