@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface EventFilter
IEventListener
.IEventListener
Modifier and Type | Required Element and Description |
---|---|
EventType[] |
value
Event types used by the filter.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
allow
Whether the filtered types are whitelisted or blacklisted.
|
public abstract EventType[] value