Package org.apache.storm.validation
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.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<?>[]
valueValidatorClasses
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<?>
validatorClass
-