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