Class NonNegativeIntValidator

java.lang.Object
com.atlassian.bitbucket.validation.IntegerValidator
com.atlassian.bitbucket.validation.NonNegativeIntValidator
All Implemented Interfaces:
javax.validation.ConstraintValidator<NonNegativeInt,Object>

public class NonNegativeIntValidator extends IntegerValidator implements javax.validation.ConstraintValidator<NonNegativeInt,Object>
Validator for the NonNegativeInt annotation.
  • Constructor Details

    • NonNegativeIntValidator

      public NonNegativeIntValidator()
  • Method Details

    • initialize

      public void initialize(NonNegativeInt constraintAnnotation)
      Specified by:
      initialize in interface javax.validation.ConstraintValidator<NonNegativeInt,Object>