Class ElasticsearchMatchers.SearchHitHasScoreMatcher

java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<org.elasticsearch.search.SearchHit>
org.elasticsearch.test.hamcrest.ElasticsearchMatchers.SearchHitHasScoreMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<org.elasticsearch.search.SearchHit>, org.hamcrest.SelfDescribing
Enclosing class:
ElasticsearchMatchers

public static class ElasticsearchMatchers.SearchHitHasScoreMatcher extends org.hamcrest.TypeSafeMatcher<org.elasticsearch.search.SearchHit>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeMismatchSafely(org.elasticsearch.search.SearchHit searchHit, org.hamcrest.Description mismatchDescription)
     
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
    matchesSafely(org.elasticsearch.search.SearchHit searchHit)
     

    Methods inherited from class org.hamcrest.TypeSafeMatcher

    describeMismatch, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SearchHitHasScoreMatcher

      public SearchHitHasScoreMatcher(float score)
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(org.elasticsearch.search.SearchHit searchHit)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<org.elasticsearch.search.SearchHit>
    • describeMismatchSafely

      public void describeMismatchSafely(org.elasticsearch.search.SearchHit searchHit, org.hamcrest.Description mismatchDescription)
      Overrides:
      describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<org.elasticsearch.search.SearchHit>
    • describeTo

      public void describeTo(org.hamcrest.Description description)