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.
  • Element Details

    • validatorClass

      Class<?> validatorClass
      Default:
      org.apache.storm.validation.ConfigValidation.PositiveNumberValidator.class
    • includeZero

      boolean includeZero
      Default:
      false