org.hamcrest.Matcher<SearchHit>
, org.hamcrest.SelfDescribing
public static class ElasticsearchMatchers.SearchHitHasIndexMatcher extends org.hamcrest.TypeSafeMatcher<SearchHit>
Constructor | Description |
---|---|
SearchHitHasIndexMatcher(java.lang.String index) |
Modifier and Type | Method | Description |
---|---|---|
void |
describeMismatchSafely(SearchHit searchHit,
org.hamcrest.Description mismatchDescription) |
|
void |
describeTo(org.hamcrest.Description description) |
|
boolean |
matchesSafely(SearchHit searchHit) |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
public SearchHitHasIndexMatcher(java.lang.String index)
public boolean matchesSafely(SearchHit searchHit)
matchesSafely
in class org.hamcrest.TypeSafeMatcher<SearchHit>
public void describeMismatchSafely(SearchHit searchHit, org.hamcrest.Description mismatchDescription)
describeMismatchSafely
in class org.hamcrest.TypeSafeMatcher<SearchHit>
public void describeTo(org.hamcrest.Description description)