Annotation Type ConfigValidationAnnotations.IsExactlyOneOf

Enclosing class:
ConfigValidationAnnotations

@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.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<?>[]
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • valueValidatorClasses

      Class<?>[] valueValidatorClasses
    • validatorClass

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