Uses of Interface
org.terracotta.context.TreeNode
-
Packages that use TreeNode Package Description org.terracotta.context org.terracotta.context.query -
-
Uses of TreeNode in org.terracotta.context
Methods in org.terracotta.context that return TreeNode Modifier and Type Method Description static TreeNodeContextManager. nodeFor(Object object)Return theTreeNodeassociated with this object.TreeNodeContextManager. queryForSingleton(Query query)Return the unique node selected by running this query against thisContextManager's root context.Methods in org.terracotta.context that return types with arguments of type TreeNode Modifier and Type Method Description Set<? extends TreeNode>TreeNode. getChildren()Returns the immediate children of this context.List<? extends TreeNode>TreeNode. getPath()Returns the unique rooting path of this context element.Collection<List<? extends TreeNode>>TreeNode. getPaths()Returns the complete set of rooting paths for this context element.Set<TreeNode>ContextManager. query(Query query)Run the suppliedQueryagainst thisContextManager's root context.Methods in org.terracotta.context with parameters of type TreeNode Modifier and Type Method Description voidContextListener. graphAdded(TreeNode parent, TreeNode added)Called when a new subgraph is attached.voidContextListener. graphRemoved(TreeNode parent, TreeNode removed)Called when a subgraph is detached. -
Uses of TreeNode in org.terracotta.context.query
Methods in org.terracotta.context.query that return types with arguments of type TreeNode Modifier and Type Method Description static Matcher<TreeNode>Matchers. context(Matcher<ContextElement> matcher)Returns a matcher that matches tree nodes whosegetContext()match against the supplied matcher.Set<TreeNode>Query. execute(Set<TreeNode> input)Transforms theinputnode set in to an output node set.Method parameters in org.terracotta.context.query with type arguments of type TreeNode Modifier and Type Method Description Set<TreeNode>Query. execute(Set<TreeNode> input)Transforms theinputnode set in to an output node set.QueryBuilderQueryBuilder. filter(Matcher<? super TreeNode> filter)Filters the current node set using the suppliedMatcher.
-