Class AndTroubleMatcher
java.lang.Object
com.tccc.kos.commons.core.service.trouble.matcher.AndTroubleMatcher
- All Implemented Interfaces:
TroubleMatcher
Matcher that returns true if the logical AND of all child
matchers are true.
- Since:
- 1.0
- Version:
- 2023-09-28
-
Constructor Summary
ConstructorsConstructorDescriptionAndTroubleMatcher(TroubleMatcher... matchers) Create a matcher that returns true if the logical AND of all specified matchers is true. -
Method Summary
-
Constructor Details
-
AndTroubleMatcher
Create a matcher that returns true if the logical AND of all specified matchers is true.- Parameters:
matchers- child matchers
-
-
Method Details
-
match
Description copied from interface:TroubleMatcherReturn true if the specified trouble matches the matcher logic.- Specified by:
matchin interfaceTroubleMatcher- Parameters:
trouble- the trouble to check for a match
-