public class EnumTypeValidator<T> extends SingleValueParameterTypeValidator<T>
defaultValue| Constructor and Description |
|---|
EnumTypeValidator(List<T> allowedValues,
ParameterTypeValidator innerValidator) |
| Modifier and Type | Method and Description |
|---|---|
RequestParameter |
isValidSingleParam(String value) |
getDefault, isValid, isValidCollectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateArrayTypeValidator, createArrayTypeValidator, createBooleanTypeValidator, createDoubleTypeValidator, createDoubleTypeValidator, createDoubleTypeValidator, createEnumTypeValidatorWithInnerValidator, createFloatTypeValidator, createFloatTypeValidator, createFloatTypeValidator, createIntegerTypeValidator, createIntegerTypeValidator, createIntegerTypeValidator, createLongTypeValidator, createLongTypeValidator, createLongTypeValidator, createStringEnumTypeValidator, createStringTypeValidator, createStringTypeValidator, createStringTypeValidator, hasDefaultpublic EnumTypeValidator(List<T> allowedValues, ParameterTypeValidator innerValidator)
public RequestParameter isValidSingleParam(String value)
isValidSingleParam in class SingleValueParameterTypeValidator<T>Copyright © 2020. All rights reserved.