public static enum ErrorProperties.IncludeAttribute extends 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 "true".
|
Modifier and Type | Method and Description |
---|---|
static ErrorProperties.IncludeAttribute |
valueOf(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(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 null