Package com.yahoo.config
Class BooleanNode
- java.lang.Object
-
- com.yahoo.config.Node
-
- com.yahoo.config.LeafNode<java.lang.Boolean>
-
- com.yahoo.config.BooleanNode
-
- All Implemented Interfaces:
java.lang.Cloneable
public class BooleanNode extends LeafNode<java.lang.Boolean>
The BooleanNode class represents a boolean in a configuration tree.
-
-
Field Summary
-
Fields inherited from class com.yahoo.config.LeafNode
initialized, value
-
-
Constructor Summary
Constructors Constructor Description BooleanNode()
BooleanNode(boolean value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
doSetValue(java.lang.String value)
java.lang.String
getValue()
Subclasses must implement this, in compliance with the rules given in the return tag.java.lang.String
toString()
Subclasses must implement this, in compliance with the rules given in the return tag.java.lang.Boolean
value()
-
Methods inherited from class com.yahoo.config.Node
postInitialize
-
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Description copied from class:LeafNode
Subclasses must implement this, in compliance with the rules given in the return tag.
-
toString
public java.lang.String toString()
Description copied from class:LeafNode
Subclasses must implement this, in compliance with the rules given in the return tag.
-
doSetValue
protected boolean doSetValue(java.lang.String value)
- Specified by:
doSetValue
in classLeafNode<java.lang.Boolean>
-
-