public enum ApplicationType extends Enum<ApplicationType>
Enum Constant and Description |
---|
FULL_PAGE_APPLICATION |
WIDGET |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static ApplicationType |
parse(String value) |
String |
toString() |
static ApplicationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationType FULL_PAGE_APPLICATION
public static final ApplicationType WIDGET
public static ApplicationType[] values()
for (ApplicationType c : ApplicationType.values()) System.out.println(c);
public static ApplicationType 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 nullpublic static ApplicationType parse(String value)
public String getValue()
public String toString()
toString
in class Enum<ApplicationType>