T - type of the path rootV - type of value being matchedpublic class PathMatcher<T,V>
extends org.hamcrest.TypeSafeDiagnosingMatcher<T>
| Constructor and Description |
|---|
PathMatcher(com.querydsl.core.types.Path<V> path,
org.hamcrest.Matcher<? super V> matcher) |
PathMatcher(com.querydsl.core.types.Path<V> path,
org.hamcrest.Matcher<? super V> matcher,
java.util.function.Function<T,V> accessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
static <T,P> org.hamcrest.Matcher<T> |
hasValue(com.querydsl.core.types.Path<P> path) |
static <T,P> org.hamcrest.Matcher<T> |
hasValue(com.querydsl.core.types.Path<P> path,
org.hamcrest.Matcher<? super P> matcher) |
protected boolean |
matchesSafely(T bean,
org.hamcrest.Description mismatchDescription) |
public PathMatcher(com.querydsl.core.types.Path<V> path, org.hamcrest.Matcher<? super V> matcher)
public static <T,P> org.hamcrest.Matcher<T> hasValue(com.querydsl.core.types.Path<P> path)
public static <T,P> org.hamcrest.Matcher<T> hasValue(com.querydsl.core.types.Path<P> path,
org.hamcrest.Matcher<? super P> matcher)
protected boolean matchesSafely(T bean, org.hamcrest.Description mismatchDescription)
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<T>public void describeTo(org.hamcrest.Description description)
Copyright © 2007–2021 Querydsl. All rights reserved.