- Type Parameters:
M
- the generic type
- All Known Subinterfaces:
Matcher<M>
, WildcardMatcher
- All Known Implementing Classes:
AbstractMatcheeMatcher
, AbstractMatcher
, AbstractMatcherComposite
, AbstractWildcardMatcher
, AndMatcher
, AnyMatcher
, EqualWithMatcher
, GreaterOrEqualThanMatcher
, GreaterThanMatcher
, IsAssignableFromMatcher
, LessOrEqualThanMatcher
, LessThanMatcher
, NoneMatcher
, NotEqualWithMatcher
, NotMatcher
, OrMatcher
, PathMatcher
, RegExpMatcher
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The
Matchable
interface is intended for components providing matching
functionality though not being a
Matcher
.
-
Method Summary
boolean
Tests whether the given event is matching the mathcer's criteria.
-
Method Details
-
isMatching
boolean isMatching(M aMatchee)
Tests whether the given event is matching the mathcer's criteria.
- Parameters:
aMatchee
- The matchee used for testing matchability.
- Returns:
- True in case the matchee matches the matcher's criteria, else
false.