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