Interface TroubleListener
- All Superinterfaces:
TroubleAware
- All Known Implementing Classes:
TroubleListenerAdapter
Interface to listen to trouble events. The callbacks come
from TroubleAware and this interface returns a matcher will
will determine which troubles will be forwarded to the
callbacks.
- Since:
- 1.0
- Version:
- 2022-09-18
-
Method Summary
Modifier and TypeMethodDescriptionReturn the matcher to use with this listener.Methods inherited from interface com.tccc.kos.commons.core.service.trouble.TroubleAware
onTroubleAdded, onTroubleRemoved, onTroubleResolved
-
Method Details
-
getMatcher
TroubleMatcher getMatcher()Return the matcher to use with this listener. Only troubles that match this matcher will be forwarded to the TroubleAware callbacks.
-