Enum AbstractConfigurationValidator.DataType
- java.lang.Object
-
- java.lang.Enum<AbstractConfigurationValidator.DataType>
-
- com.floragunn.searchguard.dlic.rest.validation.AbstractConfigurationValidator.DataType
-
- All Implemented Interfaces:
Serializable,Comparable<AbstractConfigurationValidator.DataType>
- Enclosing class:
- AbstractConfigurationValidator
public static enum AbstractConfigurationValidator.DataType extends Enum<AbstractConfigurationValidator.DataType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractConfigurationValidator.DataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AbstractConfigurationValidator.DataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRING
public static final AbstractConfigurationValidator.DataType STRING
-
ARRAY
public static final AbstractConfigurationValidator.DataType ARRAY
-
OBJECT
public static final AbstractConfigurationValidator.DataType OBJECT
-
-
Method Detail
-
values
public static AbstractConfigurationValidator.DataType[] 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 (AbstractConfigurationValidator.DataType c : AbstractConfigurationValidator.DataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractConfigurationValidator.DataType 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 nameNullPointerException- if the argument is null
-
-