Package com.sap.cds.services.impl
Interface EventPredicate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EventPredicateEventPredicate, which always evaluates to true -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true, if a given event and entity should be handled by theHandlerregistered with thisEventPredicate
-
Field Details
-
ALL
EventPredicate, which always evaluates to true
-
-
Method Details
-
test
Returns true, if a given event and entity should be handled by theHandlerregistered with thisEventPredicate- Parameters:
event- the evententity- the entity- Returns:
- true, if the given event and entity should be handled, false otherwise
-