Package com.yahoo.config
Class Node
- java.lang.Object
-
- com.yahoo.config.Node
-
public abstract class Node extends java.lang.Object
The Node class is superclass for all nodes in aConfigInstance
. Important subclasses of this node areInnerNode
andLeafNode
.
-
-
Constructor Summary
Constructors Constructor Description Node()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
clone()
This method is meant for internal use in the configuration system.void
postInitialize(java.lang.String configId)
Postinitialize this node.
-
-
-
Method Detail
-
postInitialize
public void postInitialize(java.lang.String configId)
Postinitialize this node. Any node needing to process its values depending on the config id should override this method.- Parameters:
configId
- the configId of the ConfigInstance that owns (or is) this node
-
clone
protected java.lang.Object clone() throws java.lang.CloneNotSupportedException
This method is meant for internal use in the configuration system. Overrides Object.clone(), and is overriden by LeafNode.clone().- Overrides:
clone
in classjava.lang.Object
- Returns:
- a new instance similar to this object.
- Throws:
java.lang.CloneNotSupportedException
-
-