public class RadioGroupFieldDescriptor extends AbstractSelectionFieldDescriptor
AbstractSelectionFieldDescriptor.OptionValue
FieldDescriptor.FieldValidationWrapper
NONE_SELECTED
Constructor and Description |
---|
RadioGroupFieldDescriptor(String name,
String description,
List<AbstractSelectionFieldDescriptor.OptionValue> optionValues)
Create a new RadioGroupFieldDescriptor with the specified option values.
|
RadioGroupFieldDescriptor(String name,
String description,
String[] optionValues)
Create a new RadioGroupFieldDescriptor with the specified option values.
|
getFormattedValue, getOptionValues, setOptionValues
addValidator, addValidator, getDefaultForLegacyConfig, getDefaultValue, getDescription, getLabel, getName, getValidationChain, setDefaultForLegacyConfig, setDefaultValue, setLabel
public RadioGroupFieldDescriptor(String name, String description, String[] optionValues)
name
- The field name (must be unique per AdapterConfigurationGuiDescriptor or TableDescriptor).
This name will also be used as the label for the field in the administrative console.
To ensure configuration can be read in future releases of a plugin, it is recommended to not
change a field's name - instead use a label to rename it in the administrative console.description
- A helpful description of the field.optionValues
- A String array to build the OptionValue list from. One OptionValue will be created for each
value in the array and the name and value fields will be the same.public RadioGroupFieldDescriptor(String name, String description, List<AbstractSelectionFieldDescriptor.OptionValue> optionValues)
name
- The field name (must be unique per AdapterConfigurationGuiDescriptor or TableDescriptor).
This name will also be used as the label for the field in the administrative console.
To ensure configuration can be read in future releases of a plugin, it is recommended to not
change a field's name - instead use a label to rename it in the administrative console.description
- a helpful description of the field.optionValues
- a List of OptionValues that will make up the available options the user can choose from.Copyright 2019 Ping Identity Corp. All rights reserved.