public static enum StateManager.PersistenceMode extends java.lang.Enum<StateManager.PersistenceMode>
StateManager may operate in one of two persistence modes.| Enum Constant and Description |
|---|
GLOBAL
Represents the case where all users share the same state.
|
USER
Represents the case where each user has their own state.
|
| Modifier and Type | Method and Description |
|---|---|
static StateManager.PersistenceMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StateManager.PersistenceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateManager.PersistenceMode GLOBAL
public static final StateManager.PersistenceMode USER
public static StateManager.PersistenceMode[] values()
for (StateManager.PersistenceMode c : StateManager.PersistenceMode.values()) System.out.println(c);
public static StateManager.PersistenceMode 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