public enum AppState extends Enum<AppState>
| Enum Constant and Description |
|---|
CLOSED |
CLOSING |
INIT |
NONE |
STARTED |
STARTING |
| Modifier and Type | Method and Description |
|---|---|
static AppState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppState NONE
public static final AppState INIT
public static final AppState STARTING
public static final AppState STARTED
public static final AppState CLOSING
public static final AppState CLOSED
public static AppState[] values()
for (AppState c : AppState.values()) System.out.println(c);
public static AppState 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 © 2021 vpc open source initiative. All rights reserved.