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.-
Field Summary
Fields inherited from class com.atlassian.bitbucket.validation.IntegerValidator
allowNegative
-
Constructor Summary
-
Method Summary
Methods inherited from class com.atlassian.bitbucket.validation.IntegerValidator
isValid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.validation.ConstraintValidator
isValid
-
Constructor Details
-
NonNegativeIntValidator
public NonNegativeIntValidator()
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacejavax.validation.ConstraintValidator<NonNegativeInt,
Object>
-