Class PredicateAppliesMatcher<T>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<T>
com.atlassian.bamboo.utils.matchers.PredicateAppliesMatcher<T>
- All Implemented Interfaces:
org.hamcrest.Matcher<T>
,org.hamcrest.SelfDescribing
public class PredicateAppliesMatcher<T>
extends org.hamcrest.TypeSafeMatcher<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
describeTo
(org.hamcrest.Description description) protected boolean
matchesSafely
(T item) static <T> org.hamcrest.Matcher<T>
predicateApplies
(@NotNull Predicate<T> predicate) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, describeMismatchSafely, matches
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
-
Constructor Details
-
PredicateAppliesMatcher
-
-
Method Details