T
- @FunctionalInterface
public static interface ObserverMethodConfigurator.EventConsumer<T>
EventContext
Modifier and Type | Method and Description |
---|---|
void |
accept(EventContext<T> eventContext) |
void accept(EventContext<T> eventContext) throws java.lang.Exception
eventContext
- the EventContext
used to fire the eventjava.lang.Exception
- The thrown checked exception is wrapped and rethrown as an (unchecked) ObserverException