Package yapion.hierarchy.validators
Enum Validator.ValidationOption
- java.lang.Object
-
- java.lang.Enum<Validator.ValidationOption>
-
- yapion.hierarchy.validators.Validator.ValidationOption
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Validator.ValidationOption>
,java.lang.constant.Constable
- Enclosing class:
- Validator
public static enum Validator.ValidationOption extends java.lang.Enum<Validator.ValidationOption>
-
-
Method Summary
Modifier and Type Method Description static Validator.ValidationOption
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Validator.ValidationOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRUCTURE
public static final Validator.ValidationOption STRUCTURE
Only validate the structure.
-
VALUE
public static final Validator.ValidationOption VALUE
Only validate the values.
-
TYPE
public static final Validator.ValidationOption TYPE
Only validate the type of values.
-
-
Method Detail
-
values
public static Validator.ValidationOption[] 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 Validator.ValidationOption valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-