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

      • validatorClass

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

        boolean includeZero
        Default:
        false