Interface MergeableNode

All Superinterfaces:
All Known Implementing Classes:
ObjectNodeImpl, ValueNodeImpl

public interface MergeableNode extends ConfigNode
Extension of ConfigNode that supports merging with other nodes.
  • Method Details

    • merge

      Returns new instance mergeable node of same type of original one that merges also with specified node.
      node - node to be used to merge with
      new instance of mergeable node that combines original node with specified one
      ConfigException - in case it if not possible to merge original node with new one.
    • hasValue

      boolean hasValue()
      Each node may have a direct value, and in addition may be an object node or a list node. This method returns true for any node with direct value.
      true if this node contains a value