Interface MinMaxValidator

All Known Implementing Classes:
BytesValidator, ChainedParameterValidator, IntRangeValidator, ListValidator, LongRangeValidator, MulticastAddressValidator, NillableOrExpressionParameterValidator, StringBytesLengthValidator, StringLengthValidator, SubnetValidator, URIValidator

public interface MinMaxValidator
A validator that checks whether the node complies with some sort of minimum or maximum.
Author:
Brian Stansberry (c) 2011 Red Hat Inc.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the maximum, if there is one.
    Gets the minimum, if there is one.
  • Method Details

    • getMin

      Long getMin()
      Gets the minimum, if there is one.
      Returns:
      the minimum value, or null if there is no minimum
    • getMax

      Long getMax()
      Gets the maximum, if there is one.
      Returns:
      the maximum value, or null if there is no minimum