| Enum Constant and Description |
|---|
DISCARD
The history of the view state should be discarded when the view state exits to prevent back-tracking.
|
INVALIDATE
The history of the view state and all previous view state should be invalidated to completely restrict back
tracking.
|
PRESERVE
The history of the view state should be preserved when the view state exits to support back-tracking.
|
| Modifier and Type | Method and Description |
|---|---|
static History |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static History[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final History PRESERVE
public static final History DISCARD
public static final History INVALIDATE
public static History[] values()
for (History c : History.values()) System.out.println(c);
public static History 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