Uses of Class
org.terracotta.context.query.Matcher
-
Packages that use Matcher Package Description org.terracotta.context.query org.terracotta.statistics.registry -
-
Uses of Matcher in org.terracotta.context.query
Fields in org.terracotta.context.query declared as Matcher Modifier and Type Field Description private Matcher<? super TreeNode>Filter. filterMethods in org.terracotta.context.query with type parameters of type Matcher Modifier and Type Method Description private static <T extends Matcher<?>>
java.lang.Class<?>Matcher. getSafeType(java.lang.Class<T> fromClass)Methods in org.terracotta.context.query that return Matcher Modifier and Type Method Description 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<java.util.Map<java.lang.String,java.lang.Object>> matcher)Returns a matcher that matches context elements whoseContextElement.attributes()match against the supplied matcher.static Matcher<TreeNode>Matchers. context(Matcher<ContextElement> matcher)Returns a matcher that matches tree nodes whoseTreeNode.getContext()match against the supplied matcher.static Matcher<java.util.Map<java.lang.String,java.lang.Object>>Matchers. hasAttribute(java.lang.String key, java.lang.Object value)Returns a matcher that matches attribute maps that include the given attribute entry.static Matcher<java.util.Map<java.lang.String,java.lang.Object>>Matchers. hasAttribute(java.lang.String key, Matcher<? extends java.lang.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<java.lang.Class<?>> matcher)Returns a matcher that matches context elements whoseContextElement.identifier()match against the supplied matcher.static <T> Matcher<T>Matchers. not(Matcher<T> matcher)static Matcher<java.lang.Class<?>>Matchers. subclassOf(java.lang.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 Modifier and Type Method Description 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<java.util.Map<java.lang.String,java.lang.Object>> matcher)Returns a matcher that matches context elements whoseContextElement.attributes()match against the supplied matcher.static Matcher<TreeNode>Matchers. context(Matcher<ContextElement> matcher)Returns a matcher that matches tree nodes whoseTreeNode.getContext()match against the supplied matcher.QueryBuilderQueryBuilder. filter(Matcher<? super TreeNode> filter)Filters the current node set using the suppliedMatcher.static Matcher<java.util.Map<java.lang.String,java.lang.Object>>Matchers. hasAttribute(java.lang.String key, Matcher<? extends java.lang.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<java.lang.Class<?>> matcher)Returns a matcher that matches context elements whoseContextElement.identifier()match against the supplied matcher.static <T> Matcher<T>Matchers. not(Matcher<T> matcher)Constructors in org.terracotta.context.query with parameters of type Matcher Constructor Description Filter(Matcher<? super TreeNode> filter) -
Uses of Matcher in org.terracotta.statistics.registry
Methods in org.terracotta.statistics.registry that return Matcher Modifier and Type Method Description private Matcher<java.util.Map<java.lang.String,java.lang.Object>>StatisticRegistry. hasTags(java.util.Collection<java.lang.String> tags)
-