|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<DownloadState> cz.vity.freerapid.plugins.webclient.DownloadState
public enum DownloadState
Describes all possible download states
Enum Constant Summary | |
---|---|
CANCELLED
user cancelled download of this file |
|
COMPLETED
file is sucessfully downloaded |
|
DELETED
file was deleted from the queue |
|
DISABLED
state that indicates that download cannot continue because its plugin is disabled |
|
DOWNLOADING
file is being downloaded |
|
ERROR
downloading/or checking ended with an error |
|
GETTING
state is indicating that downloading process is waiting for response from the server or writing to disk |
|
PAUSED
file is in paused state |
|
QUEUED
file is queued in the front for downloading |
|
SLEEPING
indicates "WAIT!" |
|
TESTING
running test check |
|
WAITING
process is in "downloading state" and waits for other link to continue |
Method Summary | |
---|---|
static DownloadState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DownloadState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DownloadState PAUSED
public static final DownloadState QUEUED
public static final DownloadState GETTING
public static final DownloadState WAITING
public static final DownloadState SLEEPING
public static final DownloadState DOWNLOADING
public static final DownloadState ERROR
public static final DownloadState CANCELLED
public static final DownloadState COMPLETED
public static final DownloadState DELETED
public static final DownloadState DISABLED
public static final DownloadState TESTING
Method Detail |
---|
public static DownloadState[] values()
for (DownloadState c : DownloadState.values()) System.out.println(c);
public static DownloadState valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |