Class LuceneDocumentMatchers.DocumentFieldMatcher

java.lang.Object
org.hamcrest.BaseMatcher<org.apache.lucene.document.Document>
org.hamcrest.TypeSafeDiagnosingMatcher<org.apache.lucene.document.Document>
org.hamcrest.FeatureMatcher<org.apache.lucene.document.Document,org.apache.lucene.index.IndexableField>
com.atlassian.jira.matchers.LuceneDocumentMatchers.DocumentFieldMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<org.apache.lucene.document.Document>, org.hamcrest.SelfDescribing
Enclosing class:
LuceneDocumentMatchers

public static class LuceneDocumentMatchers.DocumentFieldMatcher extends org.hamcrest.FeatureMatcher<org.apache.lucene.document.Document,org.apache.lucene.index.IndexableField>
  • Constructor Summary

    Constructors
    Constructor
    Description
    DocumentFieldMatcher(String fieldName, org.hamcrest.Matcher<? super org.apache.lucene.index.IndexableField> fieldMatcher)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.lucene.index.IndexableField
    featureValueOf(org.apache.lucene.document.Document actual)
     

    Methods inherited from class org.hamcrest.FeatureMatcher

    describeTo, matchesSafely

    Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher

    describeMismatch, matches

    Methods inherited from class org.hamcrest.BaseMatcher

    _dont_implement_Matcher___instead_extend_BaseMatcher_, toString

    Methods inherited from class java.lang.Object

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

    • DocumentFieldMatcher

      public DocumentFieldMatcher(String fieldName, org.hamcrest.Matcher<? super org.apache.lucene.index.IndexableField> fieldMatcher)
  • Method Details

    • featureValueOf

      protected org.apache.lucene.index.IndexableField featureValueOf(org.apache.lucene.document.Document actual)
      Specified by:
      featureValueOf in class org.hamcrest.FeatureMatcher<org.apache.lucene.document.Document,org.apache.lucene.index.IndexableField>