public static enum Application.State extends Enum<Application.State>
Enum Constant and Description |
---|
EXITING |
INITIALIZING |
REQUESTING_EXIT |
RUNNING |
Modifier and Type | Method and Description |
---|---|
static Application.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Application.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Application.State INITIALIZING
public static final Application.State RUNNING
public static final Application.State REQUESTING_EXIT
public static final Application.State EXITING
public static Application.State[] values()
for (Application.State c : Application.State.values()) System.out.println(c);
public static Application.State 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 © 2003–2021 XDEV Software. All rights reserved.