public static enum ErrorProperties.IncludeAttribute extends java.lang.Enum<ErrorProperties.IncludeAttribute>
| Enum Constant and Description |
|---|
ALWAYS
Always add error attribute.
|
NEVER
Never add error attribute.
|
ON_PARAM
Add error attribute when the appropriate request parameter is not "false".
|
| Modifier and Type | Method and Description |
|---|---|
static ErrorProperties.IncludeAttribute |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorProperties.IncludeAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorProperties.IncludeAttribute NEVER
public static final ErrorProperties.IncludeAttribute ALWAYS
public static final ErrorProperties.IncludeAttribute ON_PARAM
public static ErrorProperties.IncludeAttribute[] values()
for (ErrorProperties.IncludeAttribute c : ErrorProperties.IncludeAttribute.values()) System.out.println(c);
public static ErrorProperties.IncludeAttribute 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