public static enum DownloadStatus.Status extends Enum<DownloadStatus.Status>
Enum Constant and Description |
---|
CANCELLED |
DONE |
IN_PROGRESS |
MAX_CONTENT_SIZE_EXCEEDED |
PENDING |
Modifier and Type | Method and Description |
---|---|
static DownloadStatus.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DownloadStatus.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DownloadStatus.Status PENDING
public static final DownloadStatus.Status IN_PROGRESS
public static final DownloadStatus.Status DONE
public static final DownloadStatus.Status MAX_CONTENT_SIZE_EXCEEDED
public static final DownloadStatus.Status CANCELLED
public static DownloadStatus.Status[] values()
for (DownloadStatus.Status c : DownloadStatus.Status.values()) System.out.println(c);
public static DownloadStatus.Status 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 © 2005–2017 Alfresco Software. All rights reserved.