Package com.atlassian.jira.matchers
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
ConstructorsConstructorDescriptionDocumentFieldMatcher(String fieldName, org.hamcrest.Matcher<? super org.apache.lucene.index.IndexableField> fieldMatcher) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.lucene.index.IndexableFieldfeatureValueOf(org.apache.lucene.document.Document actual) Methods inherited from class org.hamcrest.FeatureMatcher
describeTo, matchesSafelyMethods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
-
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:
featureValueOfin classorg.hamcrest.FeatureMatcher<org.apache.lucene.document.Document,org.apache.lucene.index.IndexableField>
-