public enum CachingTaskStatus extends Enum<CachingTaskStatus>
Enum Constant and Description |
---|
DONE
The task has finished downloading all content.
|
ERROR
The task has encountered an error while downloading or evicting content.
|
EVICTED
All data associated with the task has been removed because the task expired or the user invoked the
CachingTask.remove() method. |
IDLE
The task has been created, but has not started downloading content.
|
LOADING
The task is currently downloading the content.
|
Modifier and Type | Method and Description |
---|---|
static CachingTaskStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CachingTaskStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CachingTaskStatus IDLE
public static final CachingTaskStatus LOADING
public static final CachingTaskStatus DONE
public static final CachingTaskStatus ERROR
public static final CachingTaskStatus EVICTED
CachingTask.remove()
method.public static CachingTaskStatus[] values()
for (CachingTaskStatus c : CachingTaskStatus.values()) System.out.println(c);
public static CachingTaskStatus 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 null