E - the Event the interceptor being un/registered will interceptpublic static interface EventDispatcher.InterceptorRegistrationEvent<E extends Event<? extends Enum>> extends Event<EventDispatcher.InterceptorRegistrationEvent.Type>
EventInterceptors to observe other EventInterceptors being added or removed from an EventDispatcher instance.EventDispatcher.InterceptorRegistrationEvent.Type| Modifier and Type | Interface and Description |
|---|---|
static class |
EventDispatcher.InterceptorRegistrationEvent.Type
The InterceptorRegistrationEvent types.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Enum> |
getEventTypes()
Return the Event Types the
EventInterceptor being registered will intercept. |
String |
getIdentifier()
Return the identifier the
EventInterceptor was registered with. |
EventInterceptor<E> |
getInterceptor()
Return the
EventInterceptor that is either: in the process of registering has been registered has been removed |
void |
setInterceptor(EventInterceptor<E> incptr)
Set the
EventInterceptor that should be registered in place of the EventInterceptor originally being registered. |
getDispatcher, getType, nextInterceptorString getIdentifier()
EventInterceptor was registered with.Set<Enum> getEventTypes()
EventInterceptor being registered will intercept. As this event is emitted under the scope of an EventDispatcher, these event types will either be the entire set or subset of supported types on the EventDispatcher.EventInterceptor<E> getInterceptor()
EventInterceptor that is either:
registeringregisteredremovedvoid setInterceptor(EventInterceptor<E> incptr)
EventInterceptor that should be registered in place of the EventInterceptor originally being registered.incptr - the EventInterceptor that should be registered