Class MaxByteConstraintValidator

    • Constructor Detail

      • MaxByteConstraintValidator

        public MaxByteConstraintValidator​(long maxValue,
                                          boolean inclusive)
        Creates the default instance of MaxByteConstraintValidator with the specified parameters.
        Parameters:
        maxValue - the supported max value.
        inclusive - whether the specified minimum is inclusive or exclusive.
      • MaxByteConstraintValidator

        public MaxByteConstraintValidator​(String maxValue,
                                          boolean inclusive)
        Creates the default instance of MaxByteConstraintValidator with the specified parameters.
        Parameters:
        maxValue - the supported max value.
        inclusive - whether the specified minimum is inclusive or exclusive.