|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.node.config.AbstractConfigEntry
org.knime.core.node.config.ConfigBooleanEntry
final class ConfigBooleanEntry
Config entry for boolean objects.
Constructor Summary | |
---|---|
ConfigBooleanEntry(String key,
boolean b)
Creates a new entry for boolean objects. |
|
ConfigBooleanEntry(String key,
String b)
Creates a new entry for boolean objects. |
Method Summary | |
---|---|
boolean |
getBoolean()
|
protected boolean |
hasIdenticalValue(AbstractConfigEntry ace)
Derived classes must compare their value with the value in the passed argument (on equality). |
String |
toStringValue()
Returns a String representation for this Config entry which is the used to re-load this Config entry. |
Methods inherited from class org.knime.core.node.config.AbstractConfigEntry |
---|
children, equals, getAllowsChildren, getChildAt, getChildCount, getIndex, getKey, getParent, getType, hashCode, isIdentical, isLeaf, setKey, setParent, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
ConfigBooleanEntry(String key, boolean b)
key
- The key for this value.b
- The boolean value.ConfigBooleanEntry(String key, String b)
key
- The key for this value.b
- The boolean value as String.Method Detail |
---|
public boolean getBoolean()
public String toStringValue()
AbstractConfigEntry
toStringValue
in class AbstractConfigEntry
Boolean.toString(boolean)
protected boolean hasIdenticalValue(AbstractConfigEntry ace)
hasIdenticalValue
in class AbstractConfigEntry
ace
- the argument to compare the value with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |