Enum ValueMirrors.Style.ValidationMethod
- java.lang.Object
-
- java.lang.Enum<ValueMirrors.Style.ValidationMethod>
-
- org.immutables.value.processor.meta.ValueMirrors.Style.ValidationMethod
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ValueMirrors.Style.ValidationMethod>
- Enclosing class:
- ValueMirrors.Style
public static enum ValueMirrors.Style.ValidationMethod extends java.lang.Enum<ValueMirrors.Style.ValidationMethod>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MANDATORY_ONLYNONESIMPLEVALIDATION_API
-
Constructor Summary
Constructors Modifier Constructor Description privateValidationMethod()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ValueMirrors.Style.ValidationMethodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ValueMirrors.Style.ValidationMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ValueMirrors.Style.ValidationMethod NONE
-
MANDATORY_ONLY
public static final ValueMirrors.Style.ValidationMethod MANDATORY_ONLY
-
SIMPLE
public static final ValueMirrors.Style.ValidationMethod SIMPLE
-
VALIDATION_API
public static final ValueMirrors.Style.ValidationMethod VALIDATION_API
-
-
Method Detail
-
values
public static ValueMirrors.Style.ValidationMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ValueMirrors.Style.ValidationMethod c : ValueMirrors.Style.ValidationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValueMirrors.Style.ValidationMethod 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
-
-