public enum AppCacheStatus extends 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(String value) |
int |
value() |
static AppCacheStatus |
valueOf(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(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 nullpublic int value()
public static AppCacheStatus getEnum(int value)
value
- The input valueAppCacheStatus
The corresponding appcache statuspublic static AppCacheStatus getEnum(String value)
Copyright © 2013. All Rights Reserved.