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

    Modifier and Type
    Method
    Description
    List<org.jboss.dmr.ModelNode>
    Gets the allowed values, or null if any value is allowed.
  • Method Details

    • getAllowedValues

      List<org.jboss.dmr.ModelNode> getAllowedValues()
      Gets the allowed values, or null if any value is allowed.
      Returns:
      the allowed values, or null