public static enum File.Status extends java.lang.Enum<File.Status>
UploadEvent.getFile().| Enum Constant and Description |
|---|
CANCELLED |
COMPLETE |
ERROR |
IN_PROGRESS |
QUEUED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
int |
toInt() |
static File.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static File.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final File.Status UNKNOWN
public static final File.Status QUEUED
public static final File.Status IN_PROGRESS
public static final File.Status ERROR
public static final File.Status COMPLETE
public static final File.Status CANCELLED
public static File.Status[] values()
for (File.Status c : File.Status.values()) System.out.println(c);
public static File.Status 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 nullpublic int toInt()