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
Modifier and TypeFieldDescriptionstatic final EventPredicate
EventPredicate
, which always evaluates to true -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true, if a given event and entity should be handled by theHandler
registered 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 theHandler
registered with thisEventPredicate
- Parameters:
event
- the evententity
- the entity- Returns:
- true, if the given event and entity should be handled, false otherwise
-