Package org.apache.storm.validation
Annotation Type ConfigValidationAnnotations.IsPositiveNumber
- Enclosing class:
- ConfigValidationAnnotations
@Retention(RUNTIME)
@Target(FIELD)
public static @interface ConfigValidationAnnotations.IsPositiveNumber
Checks if a number is positive and whether zero inclusive Validator with fields: validatorClass, includeZero.
-
Optional Element Summary
-
Element Details
-
validatorClass
Class<?> validatorClass- Default:
- org.apache.storm.validation.ConfigValidation.PositiveNumberValidator.class
-
includeZero
boolean includeZero- Default:
- false
-