Package | Description |
---|---|
org.terracotta.context | |
org.terracotta.context.query |
Modifier and Type | Method and Description |
---|---|
static TreeNode |
ContextManager.nodeFor(Object object)
Return the
TreeNode associated with this object. |
TreeNode |
ContextManager.queryForSingleton(Query query)
Return the unique node selected by running this query against this
ContextManager 's root context. |
Modifier and Type | Method and 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 supplied
Query against this ContextManager 's
root context. |
Modifier and Type | Method and Description |
---|---|
void |
ContextListener.graphAdded(TreeNode parent,
TreeNode added)
Called when a new subgraph is attached.
|
void |
ContextListener.graphRemoved(TreeNode parent,
TreeNode removed)
Called when a subgraph is detached.
|
Modifier and Type | Method and Description |
---|---|
static Matcher<TreeNode> |
Matchers.context(Matcher<ContextElement> matcher)
Returns a matcher that matches tree nodes whose
getContext()
match against the supplied matcher. |
Set<TreeNode> |
Query.execute(Set<TreeNode> input)
Transforms the
input node set in to an output node set. |
Modifier and Type | Method and Description |
---|---|
Set<TreeNode> |
Query.execute(Set<TreeNode> input)
Transforms the
input node set in to an output node set. |
QueryBuilder |
QueryBuilder.filter(Matcher<? super TreeNode> filter)
Filters the current node set using the supplied
Matcher . |
Copyright © 2017. All rights reserved.