@FunctionalInterface public static interface InputReader.ValueChecker<T>
Modifier and Type | Method and Description |
---|---|
List<String> |
getErrorMessages(T val,
String propertyName)
Returns the list of error messages due to constraint violations caused by val
|
List<String> getErrorMessages(T val, String propertyName)
val
- the value for which constraint violations are checkedpropertyName
- the name of the property corresponding to this value. May be null.