Package org.apache.cayenne.configuration

# Class ConfigurationTree<T extends ConfigurationNode>

java.lang.Object
org.apache.cayenne.configuration.ConfigurationTree<T>

public class ConfigurationTree<T extends ConfigurationNode> extends Object
A tree of configuration nodes that contains extra information about the nodes, such as load errors.

Since:
  3.1

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected Collection<ValidationFailure>`
  `loadFailures`
  `protected T`
  `rootNode`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ConfigurationTree(T rootNode)`
  `ConfigurationTree(T rootNode, Collection<ValidationFailure> loadFailures)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Collection<ValidationFailure>`
  `getLoadFailures()`
  `T`
  `getRootNode()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### rootNode

    protected T extends ConfigurationNode rootNode

  - ### loadFailures

    protected Collection<ValidationFailure> loadFailures

- ## Constructor Details

  - ### ConfigurationTree

    public ConfigurationTree(T rootNode)

  - ### ConfigurationTree

    public ConfigurationTree(T rootNode, Collection<ValidationFailure> loadFailures)

- ## Method Details

  - ### getRootNode

    public T getRootNode()

  - ### getLoadFailures

    public Collection<ValidationFailure> getLoadFailures()