@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface EventListener
| Modifier and Type | Fields and Description |
|---|---|
static boolean |
DEFAULT_IGNORE_CANCELLATION
Default value for the
ignoreCancellation() method, indicates that by
default listeners will ignore cancelled events. |
static int |
DEFAULT_PRIORITY
Default priority for the listeners.
|
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
ignoreCancellation
Indicates whether listener ignores events cancelled beforehand.
|
int |
priority
Listener's priority, lesser value will lead to later execution.
|
public static final int DEFAULT_PRIORITY
public static final boolean DEFAULT_IGNORE_CANCELLATION
ignoreCancellation() method, indicates that by
default listeners will ignore cancelled events.