Class Validator
- java.lang.Object
-
- org.apache.pulsar.config.validation.Validator
-
- Direct Known Subclasses:
ValidatorImpls.ImplementsClassesValidator,ValidatorImpls.ImplementsClassValidator,ValidatorImpls.ListEntryCustomValidator,ValidatorImpls.ListEntryTypeValidator,ValidatorImpls.MapEntryCustomValidator,ValidatorImpls.MapEntryTypeValidator,ValidatorImpls.NotNullValidator,ValidatorImpls.PositiveNumberValidator,ValidatorImpls.SimpleTypeValidator,ValidatorImpls.StringValidator
public abstract class Validator extends java.lang.ObjectPrimary validation interface. All validators should extend this abstract class and implement the validateField method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract 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.
-