@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.
Class<?>[]
valueValidatorClasses
Class<?>
validatorClass
public abstract Class<?>[] valueValidatorClasses
public abstract Class<?> validatorClass
Copyright © 2022 The Apache Software Foundation. All rights reserved.