Class AbstractTreeNode

    • Field Detail

      • children

        private final java.util.concurrent.CopyOnWriteArraySet<AbstractTreeNode> children
    • Constructor Detail

      • AbstractTreeNode

        AbstractTreeNode()
    • Method Detail

      • getChildren

        public java.util.Set<? extends AbstractTreeNode> getChildren()
        Description copied from interface: TreeNode
        Returns the immediate children of this context.
        Specified by:
        getChildren in interface TreeNode
        Returns:
        the context children
      • getPath

        public java.util.List<? extends TreeNode> getPath()
        Description copied from interface: TreeNode
        Returns the unique rooting path of this context element.

        If this context element is not connected to a root in any ContextManager instance or is rooted via multiple distinct paths then an IllegalStateException will be thrown.

        Specified by:
        getPath in interface TreeNode
        Returns:
        the unique rooting path
      • toTreeString

        public java.lang.String toTreeString()
        Specified by:
        toTreeString in interface TreeNode
      • dumpSubtree

        public static java.lang.String dumpSubtree​(int indent,
                                                   TreeNode node)
      • getListeners

        abstract java.util.Collection<ContextListener> getListeners()