Class DocumentMatcher
java.lang.Object
org.hamcrest.BaseMatcher<InputStream>
org.hamcrest.TypeSafeMatcher<InputStream>
com.atlassian.jira.functest.matcher.DocumentMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<InputStream>
,org.hamcrest.SelfDescribing
- Direct Known Subclasses:
BuildNumberMatcher
,ConditionClassMatcher
Template class for matchers that work on DOM documents.
- Since:
- v5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract boolean
matchesDocument
(Document document) final boolean
matchesSafely
(InputStream inputStream) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, 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
Methods inherited from interface org.hamcrest.SelfDescribing
describeTo
-
Constructor Details
-
DocumentMatcher
public DocumentMatcher()
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafely
in classorg.hamcrest.TypeSafeMatcher<InputStream>
-
matchesDocument
- Throws:
Exception
-