public static interface Field.Recommender
dependencies between fields, the valid values and visibility
for a field may change given the values of other fields.| Modifier and Type | Method and Description |
|---|---|
List<Object> |
validValues(Field field,
Configuration config)
Return a set of recommended (and valid) values for the field given the current configuration values.
|
boolean |
visible(Field field,
Configuration config)
Set the visibility of the field given the current configuration values.
|
List<Object> validValues(Field field, Configuration config)
field - the field for which the recommended values are to be found; may not be nullconfig - the configuration; may not be nullboolean visible(Field field, Configuration config)
field - the field; may not be nullconfig - the configuration; may not be nulltrue if the field is to be visible, or false otherwiseCopyright © 2019 JBoss by Red Hat. All rights reserved.