EventEngineContributor
| Modifier and Type | Method and Description |
|---|---|
| public <T> void | configureListeners(EventType<T> eventType, Consumer<EventListenerGroup<T>> action)
Perform an action against the listener group for the specified event-type |
| public <T> EventType | |
| public <T> EventType | contributeEventType(String name, Class<T> listenerRole, T... defaultListener)
Register a custom event type with a default listener. |
| public <T> EventType |
| configureListeners | back to summary |
|---|---|
| public <T> void configureListeners(EventType<T> eventType, Consumer<EventListenerGroup<T>> action) Perform an action against the listener group for the specified event-type | |
| contributeEventType | back to summary |
|---|---|
| public <T> EventType Register a custom event type. API Note We except the "raw" state rather than an `EventType` instance to account for the `EventType#ordinal` property. All registered types must be contiguous, so we handle the ordinality behind the scenes | |
| contributeEventType | back to summary |
|---|---|
| public <T> EventType Register a custom event type with a default listener. | |
| findEventType | back to summary |
|---|---|
| public <T> EventType Return the EventType by name, if one | |