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