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