public class ConstrainedValuesValidator<T> extends Object implements PropertyValidator
| Constructor and Description |
|---|
ConstrainedValuesValidator(Supplier<Collection<T>> allowedValuesSupplier,
Function<Object,T> valueParser) |
public ValidationResult validate(Object raw)
validate in interface PropertyValidatorCopyright © 2012–2021 JBoss by Red Hat. All rights reserved.