org.dllearner.core.options
Class ConfigEntry<T>
java.lang.Object
org.dllearner.core.options.ConfigEntry<T>
public class ConfigEntry<T>
- extends Object
A config entry is a configuration option and a value for the option.
- Author:
- Jens Lehmann
ConfigEntry
public ConfigEntry(ConfigOption<T> option,
T value)
throws InvalidConfigOptionValueException
- Throws:
InvalidConfigOptionValueException
getOption
public ConfigOption<T> getOption()
getOptionName
public String getOptionName()
getValue
public T getValue()
toConfString
public String toConfString(String componentName)
- Get a string to save into a configuration file.
- Returns:
- a formatted string
toString
public String toString()
- Overrides:
toString in class Object
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2008 Jens Lehmann