public static enum Session.Store.SaveReason extends Enum<Session.Store.SaveReason>
Enum Constant and Description |
---|
DIRTY
Indicates a save is required bc session is dirty.
|
NEW
Indicates a save is required bc session is new.
|
PRESERVE_ON_STOP
Indicates a save is required because the server is going to shutdown.
|
TIME
Indicates a save is required bc a save interval is expired.
|
Modifier and Type | Method and Description |
---|---|
static Session.Store.SaveReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Session.Store.SaveReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Session.Store.SaveReason NEW
public static final Session.Store.SaveReason DIRTY
public static final Session.Store.SaveReason TIME
Session.Definition.saveInterval()
public static final Session.Store.SaveReason PRESERVE_ON_STOP
Session.Definition.preserveOnStop()
.public static Session.Store.SaveReason[] values()
for (Session.Store.SaveReason c : Session.Store.SaveReason.values()) System.out.println(c);
public static Session.Store.SaveReason 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 nullCopyright © 2014. All rights reserved.