public enum EventFiring extends java.lang.Enum<EventFiring>
Enum Constant and Description |
---|
ASYNCHRONOUS
Event will fire asynchronously, on a different thread than the thread that cause the mutation
|
SYNCHRONOUS
Event will fire synchronously, on the same thread that cause the mutation, blocking its execution
|
Modifier and Type | Method and Description |
---|---|
static EventFiring |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventFiring[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventFiring ASYNCHRONOUS
public static final EventFiring SYNCHRONOUS
public static EventFiring[] values()
for (EventFiring c : EventFiring.values()) System.out.println(c);
public static EventFiring valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null