public class

IntegerValidator

extends Object
java.lang.Object
   ↳ com.atlassian.bitbucket.validation.IntegerValidator
Known Direct Subclasses

Class Overview

Validate a value can be converted to an Integer, optionally validating whether the number is positive.

Summary

Fields
protected boolean allowNegative
Public Constructors
IntegerValidator()
Public Methods
boolean isValid(Object value, ConstraintValidatorContext context)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected boolean allowNegative

Public Constructors

public IntegerValidator ()

Public Methods

public boolean isValid (Object value, ConstraintValidatorContext context)