类 ValidatorImpls.ImplementsClassValidator
java.lang.Object
org.apache.pulsar.config.validation.Validator
org.apache.pulsar.config.validation.ValidatorImpls.ImplementsClassValidator
- 封闭类:
- ValidatorImpls
validates that the item implements a certain type.
-
构造器概要
构造器构造器说明ImplementsClassValidator(Class<?> classImplements) ImplementsClassValidator(Map<String, Object> params) -
方法概要
修饰符和类型方法说明voidvalidateField(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.
-
构造器详细资料
-
ImplementsClassValidator
-
ImplementsClassValidator
-
-
方法详细资料
-
validateField
从类复制的说明: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.- 指定者:
validateField在类中Validator
-