Class ValidatorImpls.ImplementsClassesValidator
java.lang.Object
org.apache.pulsar.config.validation.Validator
org.apache.pulsar.config.validation.ValidatorImpls.ImplementsClassesValidator
- Enclosing class:
- ValidatorImpls
validates class implements one of these classes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateField(String name, Object o) validate the field value o that belogs to the field which is named name This method should throw IllegalArgumentException in case o doesn't validate per this validator's implementation.
-
Constructor Details
-
ImplementsClassesValidator
-
-
Method Details
-
validateField
Description copied from class:Validatorvalidate the field value o that belogs to the field which is named name This method should throw IllegalArgumentException in case o doesn't validate per this validator's implementation.- Specified by:
validateFieldin classValidator
-