@FunctionalInterface public interface EventPredicate
Modifier and Type | Field and Description |
---|---|
static EventPredicate |
ALL
EventPredicate , which always evaluates to true |
Modifier and Type | Method and Description |
---|---|
boolean |
test(String event,
String entity)
Returns true, if a given event and entity should be handled by the
Handler registered with this EventPredicate |
static final EventPredicate ALL
EventPredicate
, which always evaluates to trueboolean test(String event, String entity)
Handler
registered with this EventPredicate
event
- the evententity
- the entityCopyright © 2023. All rights reserved.