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