Class HumanReadableBytesRange.HumanReadableBytesRangeValidator
- java.lang.Object
-
- org.apache.druid.java.util.common.HumanReadableBytesRange.HumanReadableBytesRangeValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<HumanReadableBytesRange,Object>
- Enclosing class:
- HumanReadableBytesRange
public static class HumanReadableBytesRange.HumanReadableBytesRangeValidator extends Object implements javax.validation.ConstraintValidator<HumanReadableBytesRange,Object>
-
-
Constructor Summary
Constructors Constructor Description HumanReadableBytesRangeValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(HumanReadableBytesRange range)
boolean
isValid(Object value, javax.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
initialize
public void initialize(HumanReadableBytesRange range)
- Specified by:
initialize
in interfacejavax.validation.ConstraintValidator<HumanReadableBytesRange,Object>
-
isValid
public boolean isValid(Object value, javax.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<HumanReadableBytesRange,Object>
-
-