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.
@FunctionalInterface public interface AllowedValuesValidator
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<org.jboss.dmr.ModelNode>
getAllowedValues()
Gets the allowed values, ornull
if any value is allowed.
-
-
-
Method Detail
-
getAllowedValues
List<org.jboss.dmr.ModelNode> getAllowedValues()
Gets the allowed values, ornull
if any value is allowed.- Returns:
- the allowed values, or
null
-
-