Class ReadableMatchers.StringBytesRefMatcher

java.lang.Object
org.hamcrest.BaseMatcher<org.apache.lucene.util.BytesRef>
org.hamcrest.TypeSafeMatcher<org.apache.lucene.util.BytesRef>
org.elasticsearch.test.ReadableMatchers.StringBytesRefMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<org.apache.lucene.util.BytesRef>, org.hamcrest.SelfDescribing
Enclosing class:
ReadableMatchers

public static class ReadableMatchers.StringBytesRefMatcher extends org.hamcrest.TypeSafeMatcher<org.apache.lucene.util.BytesRef>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    describeMismatchSafely(org.apache.lucene.util.BytesRef item, org.hamcrest.Description description)
     
    void
    describeTo(org.hamcrest.Description description)
     
    protected boolean
    matchesSafely(org.apache.lucene.util.BytesRef item)
     

    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

    • StringBytesRefMatcher

      public StringBytesRefMatcher(String string)
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(org.apache.lucene.util.BytesRef item)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<org.apache.lucene.util.BytesRef>
    • describeMismatchSafely

      public void describeMismatchSafely(org.apache.lucene.util.BytesRef item, org.hamcrest.Description description)
      Overrides:
      describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<org.apache.lucene.util.BytesRef>
    • describeTo

      public void describeTo(org.hamcrest.Description description)