public enum ApplicationVersion extends Enum<ApplicationVersion>
| Enum Constant and Description |
|---|
ERROR |
INSTALLED |
NOT_INSTALLED |
OLDER_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static ApplicationVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationVersion OLDER_VERSION
public static final ApplicationVersion NOT_INSTALLED
public static final ApplicationVersion INSTALLED
public static final ApplicationVersion ERROR
public static ApplicationVersion[] values()
for (ApplicationVersion c : ApplicationVersion.values()) System.out.println(c);
public static ApplicationVersion 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 © 2016. All rights reserved.