org.apache.storm.validation

## Annotation Type ConfigValidationAnnotations.IsExactlyOneOf

-     @Retention(value=RUNTIME)
       @Target(value=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 and Description
    --- | ---
    `Class<?>[]` | `valueValidatorClasses`

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `Class<?>` | `validatorClass`

- - ### Element Detail

    - #### valueValidatorClasses

          public abstract Class<?>[] valueValidatorClasses

  - - #### validatorClass

          public abstract Class<?> validatorClass

      Default:
        org.apache.storm.validation.ConfigValidation.CustomIsExactlyOneOfValidators.class

Copyright © 2021 The Apache Software Foundation. All rights reserved.