rails.util
Class ConfigItem
java.lang.Object
rails.util.ConfigItem
public final class ConfigItem
- extends java.lang.Object
Defines an item used for the configuration of rails
T represents the value type
Nested Class Summary |
static class |
ConfigItem.ConfigType
Defines possible types (Java classes used as types in ConfigItem below |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
protected static org.apache.log4j.Logger log
name
public final java.lang.String name
type
public final ConfigItem.ConfigType type
allowedValues
public final java.util.List<java.lang.String> allowedValues
formatMask
public final java.lang.String formatMask
ConfigItem
ConfigItem(Tag tag)
throws ConfigurationException
- Throws:
ConfigurationException
hasNewValue
public boolean hasNewValue()
getNewValue
public java.lang.String getNewValue()
setNewValue
public void setNewValue(java.lang.String newValue)
getCurrentValue
public java.lang.String getCurrentValue()
getConfigValue
public java.lang.String getConfigValue()
callInitMethod
void callInitMethod()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object