Enum ValidationResultType

java.lang.Object
java.lang.Enum<ValidationResultType>
org.pipservices3.commons.validate.ValidationResultType
All Implemented Interfaces:
Serializable, Comparable<ValidationResultType>, Constable

public enum ValidationResultType extends Enum<ValidationResultType>
Types of validation results generated by validation schemas.
See Also:
  • Enum Constant Details

    • Information

      public static final ValidationResultType Information
      General information (not an error).
    • Warning

      public static final ValidationResultType Warning
      Warning about something suspecious. In strict mode is treated as error
    • Error

      public static final ValidationResultType Error
      Validation error.
  • Method Details

    • values

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

      public static ValidationResultType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null