public enum ApplicationPhase extends 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(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(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 null