Package org.apache.storm.validation
Annotation Type ConfigValidationAnnotations.IsPositiveNumber
-
@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
Optional Elements Modifier and Type Optional Element Description boolean
includeZero
Class<?>
validatorClass
-
-
-
Element Detail
-
validatorClass
Class<?> validatorClass
- Default:
- org.apache.storm.validation.ConfigValidation.PositiveNumberValidator.class
-
-