public static enum Application.State extends Enum<Application.State>
Enum Constant and Description |
---|
ACTIVE
Indicates an installed application is running.
|
CANCELING
Indicates a staged application is being removed.
|
DISABLED
Indicates an installed application is disabled.
|
DISABLING
Indicates an installed application is being disabled.
|
ENABLING
Indicates a disabled application is being enabled.
|
INSTALLING
Indicates an application is installing.
|
NEW
Indicates an application is not yet staged.
|
RESOLVED
Indicates an installed application stopped.
|
STAGED
Indicates an application is staged and ready for install.
|
UNINSTALLING
Indicates an application is being uninstalled.
|
UPGRADE_STAGED
Indicates an application is staged and ready for upgrade.
|
UPGRADING
Indicates an application is upgrading.
|
Modifier and Type | Method and Description |
---|---|
static Application.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Application.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Application.State NEW
public static final Application.State STAGED
public static final Application.State UPGRADE_STAGED
public static final Application.State INSTALLING
public static final Application.State UPGRADING
public static final Application.State CANCELING
public static final Application.State RESOLVED
public static final Application.State ACTIVE
public static final Application.State DISABLING
public static final Application.State DISABLED
public static final Application.State ENABLING
public static final Application.State UNINSTALLING
public static Application.State[] values()
for (Application.State c : Application.State.values()) System.out.println(c);
public static Application.State 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.