public enum EventResult extends Enum<EventResult>
Enum Constant and Description |
---|
Consumed
Used to signal that an event was consumed.
|
NotConsumed
Used to signal that an event was not consumed, and can still be sent to other event consumers.
|
Modifier and Type | Method and Description |
---|---|
static EventResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventResult Consumed
public static final EventResult NotConsumed
public static EventResult[] values()
for (EventResult c : EventResult.values()) System.out.println(c);
public static EventResult 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