Interface AllowedValuesValidator
- All Known Implementing Classes:
ChainedParameterValidator,EnumValidator,IntAllowedValuesValidator,NillableOrExpressionParameterValidator,StringAllowedValuesValidator,TimeUnitValidator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A validator that requires that values match one of the items in a defined list.
- Author:
- Brian Stansberry (c) 2011 Red Hat Inc.
-
Method Summary
Modifier and TypeMethodDescriptionList<org.jboss.dmr.ModelNode>Gets the allowed values, ornullif any value is allowed.
-
Method Details
-
getAllowedValues
List<org.jboss.dmr.ModelNode> getAllowedValues()Gets the allowed values, ornullif any value is allowed.- Returns:
- the allowed values, or
null
-