Package org.apache.storm.validation
Class ConfigValidation.MapEntryCustomValidator
java.lang.Object
org.apache.storm.validation.ConfigValidation.Validator
org.apache.storm.validation.ConfigValidation.MapEntryCustomValidator
- Enclosing class:
- ConfigValidation
validates each key and each value against the respective arrays of validators.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
validateField
(String name, Class<?>[] keyValidators, Class<?>[] valueValidators, Object o) void
validateField
(String name, Object o)
-
Constructor Details
-
MapEntryCustomValidator
-
-
Method Details
-
validateField
public static void validateField(String name, Class<?>[] keyValidators, Class<?>[] valueValidators, Object o) throws IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException -
validateField
- Specified by:
validateField
in classConfigValidation.Validator
-