Class ImpactedTroubleMatcher
java.lang.Object
com.tccc.kos.commons.core.service.trouble.matcher.ImpactedTroubleMatcher
- All Implemented Interfaces:
TroubleMatcher
Matcher that returns true if any of the specified objects are in
the impact list of a trouble.
- Since:
- 1.0
- Version:
- 2022-09-18
-
Constructor Summary
ConstructorsConstructorDescriptionImpactedTroubleMatcher(Object... objs) Create a matcher that returns true if a trouble contains the specified object the impact list. -
Method Summary
-
Constructor Details
-
ImpactedTroubleMatcher
Create a matcher that returns true if a trouble contains the specified object the impact list.- Parameters:
objs- the objects to check
-
-
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
-