public static enum FileDownloadEvent.DownloadType extends Enum<FileDownloadEvent.DownloadType>
Modifier and Type | Method and Description |
---|---|
static FileDownloadEvent.DownloadType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileDownloadEvent.DownloadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileDownloadEvent.DownloadType SHOW
public static final FileDownloadEvent.DownloadType DOWNLOAD
public static FileDownloadEvent.DownloadType[] values()
for (FileDownloadEvent.DownloadType c : FileDownloadEvent.DownloadType.values()) System.out.println(c);
public static FileDownloadEvent.DownloadType 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.