org.jgap.data.config
Interface ConfigurationHandler
-
- All Known Implementing Classes:
- RootConfigurationHandler
public interface ConfigurationHandlerThe interface for the GUI to retrieve the information about what a Configurable looks like and how it must be rendered.- Since:
- 2.3
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringCVS_REVISIONString containing the CVS revision.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.util.ListgetConfigProperties()Return the information to generate the GUI for configuring this class.java.lang.StringgetName()Return the name of this Configuration Object to be used in the properties file.java.lang.StringgetNS()Get the namespace to be used in the config file for the Configurable this ConfigurationHandler belongs to.voidreadConfig()Method that will populate a Configurable with the properties in the config file.voidsetConfigurable(Configurable a_configurable)Set the Configurable to which this ConfigurationHandler belongs.
-
-
-
Field Detail
-
CVS_REVISION
static final java.lang.String CVS_REVISION
String containing the CVS revision. Read out via reflection!- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
java.lang.String getName()
Return the name of this Configuration Object to be used in the properties file.- Returns:
- name of this config Object (name of what you are configuring)
-
getConfigProperties
java.util.List getConfigProperties()
Return the information to generate the GUI for configuring this class.- Returns:
- a list of ConfigProperty objects
-
readConfig
void readConfig() throws ConfigException, InvalidConfigurationExceptionMethod that will populate a Configurable with the properties in the config file.- Throws:
ConfigExceptionInvalidConfigurationException- Since:
- 2.3
-
getNS
java.lang.String getNS()
Get the namespace to be used in the config file for the Configurable this ConfigurationHandler belongs to.- Returns:
- namepsace of the Configurable
- Since:
- 2.3
-
setConfigurable
void setConfigurable(Configurable a_configurable)
Set the Configurable to which this ConfigurationHandler belongs.- Parameters:
a_configurable- The Configurable to which this ConfigurationHandler belongs.- Since:
- 2.3
-
-
DMelt 3.0 © DataMelt by jWork.ORG