public enum CacheEvent extends java.lang.Enum<CacheEvent>
| Enum Constant and Description |
|---|
DOWNLOAD_END |
DOWNLOAD_ERROR |
DOWNLOAD_PROGRESS |
DOWNLOAD_STARTED |
DOWNLOAD_STOPPED |
| Modifier and Type | Method and Description |
|---|---|
static CacheEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CacheEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheEvent DOWNLOAD_STARTED
public static final CacheEvent DOWNLOAD_PROGRESS
public static final CacheEvent DOWNLOAD_END
public static final CacheEvent DOWNLOAD_STOPPED
public static final CacheEvent DOWNLOAD_ERROR
public static CacheEvent[] values()
for (CacheEvent c : CacheEvent.values()) System.out.println(c);
public static CacheEvent 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 null