| Constructor and Description |
|---|
PositiveLongValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate(String name,
Long value)
Validates if the value value the of provided configuration parameter name is a positive
long
|
public void validate(String name, Long value) throws ValidationException
validate in interface Validator<Long>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 long or is negative.Copyright © 2022. All rights reserved.