public enum ApplicationState extends Enum<ApplicationState>
Enum Constant and Description |
---|
ACTIVE
Indicates that application is active.
|
INSTALLED
Indicates that application has been installed, but is not running.
|
Modifier and Type | Method and Description |
---|---|
static ApplicationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationState INSTALLED
public static final ApplicationState ACTIVE
public static ApplicationState[] values()
for (ApplicationState c : ApplicationState.values()) System.out.println(c);
public static 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 null