com.atlassian.jira.functest.matcher
Class ConditionClassMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<InputStream>
com.atlassian.jira.functest.matcher.DocumentMatcher
com.atlassian.jira.functest.matcher.ConditionClassMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<InputStream>, org.hamcrest.SelfDescribing
public class ConditionClassMatcher
- extends DocumentMatcher
Matches workflow XML files that have conditions with the given class name in them.
- Since:
- v5.0
Methods inherited from class org.hamcrest.TypeSafeMatcher |
describeMismatch, describeMismatchSafely, matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
ConditionClassMatcher
public ConditionClassMatcher(String className)
usesConditionClass
public static ConditionClassMatcher usesConditionClass(String className)
matchesDocument
protected boolean matchesDocument(@Nullable
Document document)
throws Exception
- Specified by:
matchesDocument
in class DocumentMatcher
- Throws:
Exception
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2002-2013 Atlassian. All Rights Reserved.