public static enum DownloadInfo.Part.States extends Enum<DownloadInfo.Part.States>
| Enum Constant and Description |
|---|
DONE |
DOWNLOADING |
ERROR |
QUEUED |
RETRYING |
STOP |
| Modifier and Type | Method and Description |
|---|---|
static DownloadInfo.Part.States |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownloadInfo.Part.States[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadInfo.Part.States QUEUED
public static final DownloadInfo.Part.States DOWNLOADING
public static final DownloadInfo.Part.States RETRYING
public static final DownloadInfo.Part.States ERROR
public static final DownloadInfo.Part.States STOP
public static final DownloadInfo.Part.States DONE
public static DownloadInfo.Part.States[] values()
for (DownloadInfo.Part.States c : DownloadInfo.Part.States.values()) System.out.println(c);
public static DownloadInfo.Part.States 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.