public enum ValidationTypeDTO extends Enum<ValidationTypeDTO>
| Enum Constant and Description |
|---|
EMPTY_PARAMETER |
INVALID_OPERATOR |
MISSING_LICENSE |
QUERY_PARSING_ERROR |
UNDECLARED_PARAMETER |
UNKNOWN_FIELD |
| Modifier and Type | Method and Description |
|---|---|
String |
errorTitle()
Caution, the human readable error title is based on the name of the enum!
|
static ValidationTypeDTO |
from(ValidationType validationType) |
static ValidationTypeDTO |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationTypeDTO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationTypeDTO UNDECLARED_PARAMETER
public static final ValidationTypeDTO EMPTY_PARAMETER
public static final ValidationTypeDTO QUERY_PARSING_ERROR
public static final ValidationTypeDTO UNKNOWN_FIELD
public static final ValidationTypeDTO INVALID_OPERATOR
public static final ValidationTypeDTO MISSING_LICENSE
public static ValidationTypeDTO[] values()
for (ValidationTypeDTO c : ValidationTypeDTO.values()) System.out.println(c);
public static ValidationTypeDTO 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 ValidationTypeDTO from(ValidationType validationType)
public String errorTitle()
Copyright © 2012–2022 Graylog, Inc.. All rights reserved.