public static class ConfigValidation.PositiveNumberValidator extends ConfigValidation.Validator
Validates a positive number.
Constructor and Description |
---|
PositiveNumberValidator() |
PositiveNumberValidator(Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
static void |
validateField(String name,
boolean includeZero,
Object o) |
void |
validateField(String name,
Object o) |
public void validateField(String name, Object o)
validateField
in class ConfigValidation.Validator
Copyright © 2019 The Apache Software Foundation. All rights reserved.