Class PositiveSizeValidator
java.lang.Object
com.github.joschi.jadconfig.validators.PositiveSizeValidator
- Author:
- jschalanda
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PositiveSizeValidator
public PositiveSizeValidator()
-
-
Method Details
-
validate
Validates if the value value the of provided configuration parameter name is a positiveSize- Specified by:
validatein interfaceValidator<Size>- Parameters:
name- The name of the configuration parametervalue- The value of the configuration validator- Throws:
ValidationException- If the value value configuration parameter name can't be parsed as anSizeor is negative.
-