public enum PackageCommand extends Enum<PackageCommand>
| Enum Constant and Description |
|---|
ERASE
erase
|
INSTALL
install
|
UPDATE
update
|
| Modifier and Type | Method and Description |
|---|---|
static PackageCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PackageCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageCommand INSTALL
public static final PackageCommand UPDATE
public static final PackageCommand ERASE
public static PackageCommand[] values()
for (PackageCommand c : PackageCommand.values()) System.out.println(c);
public static PackageCommand 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 © 2014 Cinovo AG. All Rights Reserved.