public static enum Interceptor.Order extends Enum<Interceptor.Order>
EventInterceptor should request to be first in the chain of EventInterceptors, hence have a HIGH priority.| Enum Constant and Description |
|---|
HIGH
Indicates an intention to be higher in the chain of
EventInterceptors. |
LOW
Indicates that the
EventInterceptor is not concerned with where in the chain it resides. |
| Modifier and Type | Method and Description |
|---|---|
static Interceptor.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Interceptor.Order[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final Interceptor.Order HIGH
EventInterceptors.public static final Interceptor.Order LOW
EventInterceptor is not concerned with where in the chain it resides.public static Interceptor.Order[] values()
for (Interceptor.Order c : Interceptor.Order.values())
System.out.println(c);
public static Interceptor.Order valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null