public static enum Application.Action extends Enum<Application.Action>
Enum Constant and Description |
---|
INSTALL
This application can be installed.
|
NONE
It is unknown what can be done to this application.
|
UPGRADE
This application can be installed as an upgrade.
|
Modifier and Type | Method and Description |
---|---|
static Application.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Application.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Application.Action NONE
public static final Application.Action INSTALL
public static final Application.Action UPGRADE
public static Application.Action[] values()
for (Application.Action c : Application.Action.values()) System.out.println(c);
public static Application.Action 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 © 2015. All Rights Reserved.