Class ValidatorImpls.ImplementsClassesValidator
- java.lang.Object
-
- org.apache.pulsar.config.validation.Validator
-
- org.apache.pulsar.config.validation.ValidatorImpls.ImplementsClassesValidator
-
- Enclosing class:
- ValidatorImpls
public static class ValidatorImpls.ImplementsClassesValidator extends Validator
validates class implements one of these classes.
-
-
Constructor Summary
Constructors Constructor Description ImplementsClassesValidator(java.util.Map<java.lang.String,java.lang.Object> params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidateField(java.lang.String name, java.lang.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.
-
-
-
Method Detail
-
validateField
public void validateField(java.lang.String name, java.lang.Object o)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
-
-