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