Package org.terracotta.context
Class RootNode
java.lang.Object
org.terracotta.context.AbstractTreeNode
org.terracotta.context.RootNode
- All Implemented Interfaces:
TreeNode,WeakIdentityHashMap.Cleanable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidaddedParent(AbstractTreeNode child) voidaddListener(ContextListener listener) (package private) Set<AbstractTreeNode>Returns the context information associated with this node.(package private) Collection<ContextListener>Collection<List<? extends TreeNode>>getPaths()Returns the complete set of rooting paths for this context element.(package private) voidremovedParent(AbstractTreeNode child) voidremoveListener(ContextListener listener) Methods inherited from class org.terracotta.context.AbstractTreeNode
addChild, clean, dumpSubtree, getChildren, getPath, removeChild, toTreeString
-
Field Details
-
listeners
-
-
Constructor Details
-
RootNode
RootNode()
-
-
Method Details
-
addedParent
- Specified by:
addedParentin classAbstractTreeNode
-
removedParent
- Specified by:
removedParentin classAbstractTreeNode
-
getAncestors
Set<AbstractTreeNode> getAncestors()- Specified by:
getAncestorsin classAbstractTreeNode
-
getListeners
Collection<ContextListener> getListeners()- Specified by:
getListenersin classAbstractTreeNode
-
addListener
-
removeListener
-
getContext
Description copied from interface:TreeNodeReturns the context information associated with this node.- Returns:
- node context information
-
getPaths
Description copied from interface:TreeNodeReturns the complete set of rooting paths for this context element.- Returns:
- the set of rooting paths
-