Enum Class ValidationType

java.lang.Object
java.lang.Enum<ValidationType>
org.graylog.plugins.views.search.validation.ValidationType
All Implemented Interfaces:
Serializable, Comparable<ValidationType>, Constable

public enum ValidationType extends Enum<ValidationType>
  • Enum Constant Details

    • UNDECLARED_PARAMETER

      public static final ValidationType UNDECLARED_PARAMETER
    • EMPTY_PARAMETER

      public static final ValidationType EMPTY_PARAMETER
    • QUERY_PARSING_ERROR

      public static final ValidationType QUERY_PARSING_ERROR
    • UNKNOWN_FIELD

      public static final ValidationType UNKNOWN_FIELD
    • INVALID_OPERATOR

      public static final ValidationType INVALID_OPERATOR
    • MISSING_LICENSE

      public static final ValidationType MISSING_LICENSE
    • INVALID_VALUE_TYPE

      public static final ValidationType INVALID_VALUE_TYPE
    • PARAMETER_NOT_ALLOWED

      public static final ValidationType PARAMETER_NOT_ALLOWED
  • Method Details

    • values

      public static ValidationType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ValidationType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null