public static enum ApplicationStatus.ApplicationState extends Enum<ApplicationStatus.ApplicationState>
Possible States:
ACTIVE: no errors, started successfully
FAILED: errors occurred while trying to start
INACTIVE: nothing from the app is installed
UNKNOWN: could not determine status
Modifier and Type | Method and Description |
---|---|
static ApplicationStatus.ApplicationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationStatus.ApplicationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationStatus.ApplicationState ACTIVE
public static final ApplicationStatus.ApplicationState FAILED
public static final ApplicationStatus.ApplicationState INACTIVE
public static final ApplicationStatus.ApplicationState UNKNOWN
public static ApplicationStatus.ApplicationState[] values()
for (ApplicationStatus.ApplicationState c : ApplicationStatus.ApplicationState.values()) System.out.println(c);
public static ApplicationStatus.ApplicationState 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 nullThis work is licensed under a Creative Commons Attribution 4.0 International License.