public static interface Field.Validator
| Modifier and Type | Method and Description |
|---|---|
int |
validate(Configuration config,
Field field,
Consumer<String> problems)
Validate the supplied value for the field, and report any problems to the designated consumer.
|
int validate(Configuration config, Field field, Consumer<String> problems)
config - the configuration containing the field to be validated; may not be nullfield - the Field being validated; never nullproblems - the consumer to be called with each problem; never nullCopyright © 2016 JBoss by Red Hat. All rights reserved.