public enum ApplicationPhase extends java.lang.Enum<ApplicationPhase>
Enum Constant and Description |
---|
INITIALIZE
1st phase.
|
MAIN
Main phase.
|
READY
3rd phase.
|
SHUTDOWN
Last phase.
|
STARTUP
2nd phase.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationPhase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationPhase INITIALIZE
public static final ApplicationPhase STARTUP
public static final ApplicationPhase READY
public static final ApplicationPhase MAIN
public static final ApplicationPhase SHUTDOWN
public static ApplicationPhase[] values()
for (ApplicationPhase c : ApplicationPhase.values()) System.out.println(c);
public static ApplicationPhase 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