Uses of Class
org.terracotta.context.query.Matcher

Packages that use Matcher
org.terracotta.context.query   
 

Uses of Matcher in org.terracotta.context.query
 

Methods in org.terracotta.context.query that return Matcher
static
<T> Matcher<T>
Matchers.allOf(Matcher<? super T>... matchers)
          Returns a matcher that matches when against objects which match all of the supplied matchers.
static
<T> Matcher<T>
Matchers.anyOf(Matcher<? super T>... matchers)
          Returns a matcher that matches when against objects which match any of the supplied matchers.
static Matcher<ContextElement> Matchers.attributes(Matcher<Map<String,Object>> matcher)
          Returns a matcher that matches context elements whose ContextElement.attributes() match against the supplied matcher.
static Matcher<TreeNode> Matchers.context(Matcher<ContextElement> matcher)
          Returns a matcher that matches tree nodes whose TreeNode.getContext() match against the supplied matcher.
static Matcher<Map<String,Object>> Matchers.hasAttribute(String key, Matcher<? extends Object> value)
          Returns a matcher that matches attribute maps the include an attribute with the given name, and whose value matches the given matcher.
static Matcher<Map<String,Object>> Matchers.hasAttribute(String key, Object value)
          Returns a matcher that matches attribute maps that include the given attribute entry.
static Matcher<ContextElement> Matchers.identifier(Matcher<Class<?>> matcher)
          Returns a matcher that matches context elements whose ContextElement.identifier() match against the supplied matcher.
static
<T> Matcher<T>
Matchers.not(Matcher<T> matcher)
           
static Matcher<Class<?>> Matchers.subclassOf(Class<?> klazz)
          Returns a matcher that matches classes that are sub-types of the supplied class.
 

Methods in org.terracotta.context.query with parameters of type Matcher
static
<T> Matcher<T>
Matchers.allOf(Matcher<? super T>... matchers)
          Returns a matcher that matches when against objects which match all of the supplied matchers.
static
<T> Matcher<T>
Matchers.anyOf(Matcher<? super T>... matchers)
          Returns a matcher that matches when against objects which match any of the supplied matchers.
static Matcher<ContextElement> Matchers.attributes(Matcher<Map<String,Object>> matcher)
          Returns a matcher that matches context elements whose ContextElement.attributes() match against the supplied matcher.
static Matcher<TreeNode> Matchers.context(Matcher<ContextElement> matcher)
          Returns a matcher that matches tree nodes whose TreeNode.getContext() match against the supplied matcher.
 QueryBuilder QueryBuilder.filter(Matcher<? super TreeNode> filter)
          Filters the current node set using the supplied Matcher.
static Matcher<Map<String,Object>> Matchers.hasAttribute(String key, Matcher<? extends Object> value)
          Returns a matcher that matches attribute maps the include an attribute with the given name, and whose value matches the given matcher.
static Matcher<ContextElement> Matchers.identifier(Matcher<Class<?>> matcher)
          Returns a matcher that matches context elements whose ContextElement.identifier() match against the supplied matcher.
static
<T> Matcher<T>
Matchers.not(Matcher<T> matcher)
           
 



Copyright © 2015. All Rights Reserved.