Annotation Type ConfigValidationAnnotations.IsExactlyOneOf


  • @Retention(RUNTIME)
    @Target(FIELD)
    public static @interface ConfigValidationAnnotations.IsExactlyOneOf
    Custom validator where exactly one of the validations must be successful. Used for overloaded configuration, where value must match one (and exactly one) format of supplied values.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<?> validatorClass  
    • Element Detail

      • valueValidatorClasses

        Class<?>[] valueValidatorClasses
      • validatorClass

        Class<?> validatorClass
        Default:
        org.apache.storm.validation.ConfigValidation.CustomIsExactlyOneOfValidators.class