setOnValidate method of the IFieldBuilder interface
Sets the callback for additional validation performed after regular expression matching. This callback can be used for custom checks or tests that are not covered by regular expressions, for example, to calculate the field's checksum. If you do not perform such tests, there is no need to call this method.
IFieldBuilder setOnValidate( Predicate<String> onValidate );
Parameters
- onValidate
- An object implementing the Predicate<T> interface for the String type. Implemented by user.
Return values
The method returns the IFieldBuilder instance to which it belongs.
02.03.2022 12:59:15