public enum AppCacheStatus extends java.lang.Enum<AppCacheStatus>
Enum Constant and Description |
---|
CHECKING |
DOWNLOADING |
IDLE |
OBSOLETE |
UNCACHED |
UPDATE_READY |
Modifier and Type | Method and Description |
---|---|
static AppCacheStatus |
getEnum(int value)
Gets the AppCacheStatus for the given int value.
|
static AppCacheStatus |
getEnum(java.lang.String value) |
int |
value() |
static AppCacheStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AppCacheStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AppCacheStatus UNCACHED
public static final AppCacheStatus IDLE
public static final AppCacheStatus CHECKING
public static final AppCacheStatus DOWNLOADING
public static final AppCacheStatus UPDATE_READY
public static final AppCacheStatus OBSOLETE
public static AppCacheStatus[] values()
for (AppCacheStatus c : AppCacheStatus.values()) System.out.println(c);
public static AppCacheStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static AppCacheStatus getEnum(int value)
value
- The input valueAppCacheStatus
The corresponding appcache statuspublic static AppCacheStatus getEnum(java.lang.String value)