类 Validator
java.lang.Object
org.apache.pulsar.config.validation.Validator
- 直接已知子类:
ValidatorImpls.ImplementsClassesValidator,ValidatorImpls.ImplementsClassValidator,ValidatorImpls.ListEntryCustomValidator,ValidatorImpls.ListEntryTypeValidator,ValidatorImpls.MapEntryCustomValidator,ValidatorImpls.MapEntryTypeValidator,ValidatorImpls.NotNullValidator,ValidatorImpls.PositiveNumberValidator,ValidatorImpls.SimpleTypeValidator,ValidatorImpls.StringValidator
Primary validation interface. All validators should extend this abstract class and implement
the validateField method.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明abstract 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.
-
构造器详细资料
-
Validator
-
Validator
public Validator()
-
-
方法详细资料
-
validateField
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.
-