public static enum ErrorsProperties.ArgumentExposure extends Enum<ErrorsProperties.ArgumentExposure>
| Enum Constant and Description |
|---|
ALWAYS
Always expose
"arguments" element, even when there are no error arguments. |
NEVER
Never expose error arguments.
|
NON_EMPTY
Expose error arguments only when there is anything to expose.
|
| Modifier and Type | Method and Description |
|---|---|
void |
expose(Map<String,Object> error,
List<Argument> arguments)
Exposes the given
arguments into the given error representation |
static ErrorsProperties.ArgumentExposure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorsProperties.ArgumentExposure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorsProperties.ArgumentExposure NEVER
public static final ErrorsProperties.ArgumentExposure NON_EMPTY
public static final ErrorsProperties.ArgumentExposure ALWAYS
"arguments" element, even when there are no error arguments.public static ErrorsProperties.ArgumentExposure[] values()
for (ErrorsProperties.ArgumentExposure c : ErrorsProperties.ArgumentExposure.values()) System.out.println(c);
public static ErrorsProperties.ArgumentExposure 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 nullCopyright © 2019. All rights reserved.