- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface used to check whether specific
Event class can be posted via a
IEventBus.
-
Method Summary
void
If the event class should be accepted for the bus, does nothing.
-
Method Details
-
check
If the event class should be accepted for the bus, does nothing.
If it should not be accepted, throws an
IllegalArgumentException.
- Parameters:
eventClass - The type of the event to check for validity
- Throws:
IllegalArgumentException - If the event class is not valid.