Class Node

java.lang.Object
com.yahoo.config.Node
Direct Known Subclasses:
InnerNode, LeafNode

public abstract class Node extends Object
The Node class is superclass for all nodes in a ConfigInstance. Important subclasses of this node are InnerNode and LeafNode.
  • Constructor Details

    • Node

      public Node()
  • Method Details

    • postInitialize

      public void postInitialize(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 Object clone() throws CloneNotSupportedException
      This method is meant for internal use in the configuration system. Overrides Object.clone(), and is overriden by LeafNode.clone().
      Overrides:
      clone in class Object
      Returns:
      a new instance similar to this object.
      Throws:
      CloneNotSupportedException