Enum AbstractConfigurationValidator.ErrorType
- java.lang.Object
-
- java.lang.Enum<AbstractConfigurationValidator.ErrorType>
-
- com.floragunn.searchguard.dlic.rest.validation.AbstractConfigurationValidator.ErrorType
-
- All Implemented Interfaces:
Serializable,Comparable<AbstractConfigurationValidator.ErrorType>
- Enclosing class:
- AbstractConfigurationValidator
public static enum AbstractConfigurationValidator.ErrorType extends Enum<AbstractConfigurationValidator.ErrorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BODY_NOT_PARSEABLEINVALID_CONFIGURATIONINVALID_PASSWORDNONEPAYLOAD_MANDATORYPAYLOAD_NOT_ALLOWEDSG_NOT_INITIALIZEDWRONG_DATATYPE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()static AbstractConfigurationValidator.ErrorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AbstractConfigurationValidator.ErrorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final AbstractConfigurationValidator.ErrorType NONE
-
INVALID_CONFIGURATION
public static final AbstractConfigurationValidator.ErrorType INVALID_CONFIGURATION
-
INVALID_PASSWORD
public static final AbstractConfigurationValidator.ErrorType INVALID_PASSWORD
-
WRONG_DATATYPE
public static final AbstractConfigurationValidator.ErrorType WRONG_DATATYPE
-
BODY_NOT_PARSEABLE
public static final AbstractConfigurationValidator.ErrorType BODY_NOT_PARSEABLE
-
PAYLOAD_NOT_ALLOWED
public static final AbstractConfigurationValidator.ErrorType PAYLOAD_NOT_ALLOWED
-
PAYLOAD_MANDATORY
public static final AbstractConfigurationValidator.ErrorType PAYLOAD_MANDATORY
-
SG_NOT_INITIALIZED
public static final AbstractConfigurationValidator.ErrorType SG_NOT_INITIALIZED
-
-
Method Detail
-
values
public static AbstractConfigurationValidator.ErrorType[] 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.ErrorType c : AbstractConfigurationValidator.ErrorType.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.ErrorType 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
-
getMessage
public String getMessage()
-
-