public interface FieldValidator extends Serializable
FieldDescriptor can have 0..n FieldValidators
that will be invoked in order until ValidationException is thrown or all FieldValidators
have been executed.| Modifier and Type | Method and Description |
|---|---|
void |
validate(Field field)
Implementations of this method can perform any necessary validation on the Field.
|
void validate(Field field) throws ValidationException
field - the field (name and value) to validate.ValidationException - if the field is invalid.Copyright 2019 Ping Identity Corp. All rights reserved.