Package lumis.doui
Enum DouiContext.ValidationResult
- java.lang.Object
-
- java.lang.Enum<DouiContext.ValidationResult>
-
- lumis.doui.DouiContext.ValidationResult
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DouiContext.ValidationResult>
- Enclosing class:
- DouiContext
public static enum DouiContext.ValidationResult extends java.lang.Enum<DouiContext.ValidationResult>
Result of the controls validation process.- Since:
- 5.6.0
- Version:
- $Revision: 25809 $ $Date: 2023-07-04 15:23:22 -0300 (Tue, 04 Jul 2023) $
- See Also:
DouiContext.getValidationResult()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID
The validation has been processed and the result was invalid.NOT_VALIDATED
The validation has not been processed yet.VALID
The validation has been processed and the result was valid.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DouiContext.ValidationResult
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DouiContext.ValidationResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_VALIDATED
public static final DouiContext.ValidationResult NOT_VALIDATED
The validation has not been processed yet.- Since:
- 5.6.0
-
VALID
public static final DouiContext.ValidationResult VALID
The validation has been processed and the result was valid.- Since:
- 5.6.0
-
INVALID
public static final DouiContext.ValidationResult INVALID
The validation has been processed and the result was invalid.- Since:
- 5.6.0
-
-
Method Detail
-
values
public static DouiContext.ValidationResult[] 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 (DouiContext.ValidationResult c : DouiContext.ValidationResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DouiContext.ValidationResult 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
-
-