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 PropertyValidator
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.