Package org.apache.storm.validation
Class ConfigValidation.PositiveNumberValidator
java.lang.Object
org.apache.storm.validation.ConfigValidation.Validator
org.apache.storm.validation.ConfigValidation.PositiveNumberValidator
- Enclosing class:
- ConfigValidation
Validates a positive number.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
validateField
(String name, boolean includeZero, Object o) void
validateField
(String name, Object o)
-
Constructor Details
-
PositiveNumberValidator
public PositiveNumberValidator() -
PositiveNumberValidator
-
-
Method Details
-
validateField
-
validateField
- Specified by:
validateField
in classConfigValidation.Validator
-