Interface ServiceMatchingStrategy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This is
ServiceMatchingStrategy.- Since:
- 6.1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceMatchingStrategyAlways matches service matching strategy.booleanDetermine whether a service matches another primarily used for validation events.static ServiceMatchingStrategyNever matches service matching strategy.
-
Method Details
-
alwaysMatches
Always matches service matching strategy.- Returns:
- the service matching strategy
-
neverMatches
Never matches service matching strategy.- Returns:
- the service matching strategy
-
matches
Determine whether a service matches another primarily used for validation events.- Parameters:
service- the serviceserviceToMatch- the match service- Returns:
- true /false
-