| Constructor and Description |
|---|
PositiveIntegerValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(String name,
Integer value)
Validates if the value value the of provided configuration parameter name is a positive
integer
|
public void validate(String name, Integer value) throws ValidationException
validate in interface Validator<Integer>name - The name of the configuration parametervalue - The value of the configuration validatorValidationException - If the value value configuration parameter name can't be parsed
as an int or is negative.Copyright © 2022. All rights reserved.