public static enum Event.Scope extends java.lang.Enum<Event.Scope>
Modifier and Type | Method and Description |
---|---|
static Event.Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Event.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.Scope CLUSTER
public static final Event.Scope SERVER
public static final Event.Scope SESSION
public static Event.Scope[] values()
for (Event.Scope c : Event.Scope.values()) System.out.println(c);
public static Event.Scope 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