public static enum FileUploadField.FileStoragePutMode extends java.lang.Enum<FileUploadField.FileStoragePutMode>
Enum Constant and Description |
---|
IMMEDIATE
FileDescriptor will be placed into FileStorage and commited to database right after upload.
|
MANUAL
User have to put FileDescriptor into FileStorage and commit it to database manually.
|
Modifier and Type | Method and Description |
---|---|
static FileUploadField.FileStoragePutMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileUploadField.FileStoragePutMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileUploadField.FileStoragePutMode MANUAL
public static final FileUploadField.FileStoragePutMode IMMEDIATE
public static FileUploadField.FileStoragePutMode[] values()
for (FileUploadField.FileStoragePutMode c : FileUploadField.FileStoragePutMode.values()) System.out.println(c);
public static FileUploadField.FileStoragePutMode 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 null