public class TextFieldDescriptor extends AbstractTextFieldDescriptor
FieldDescriptor.FieldValidationWrapper
Constructor and Description |
---|
TextFieldDescriptor(String name,
String description)
Create a new TextFieldDescriptor.
|
TextFieldDescriptor(String name,
String description,
boolean encrypted)
Create a new TextFieldDescriptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEncrypted()
Encrypt this text field?
|
getSize, setSize
addValidator, addValidator, getDefaultForLegacyConfig, getDefaultValue, getDescription, getFormattedValue, getLabel, getName, getValidationChain, setDefaultForLegacyConfig, setDefaultValue, setLabel
public TextFieldDescriptor(String name, String description)
TextFieldDescriptor(String, String, boolean)
with false for the last argument.public TextFieldDescriptor(String name, String description, boolean encrypted)
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
- The field description displayed in the administrative console.encrypted
- Should this field encrypt the value (render it as a password field in the
GUI and encrypt the value in the backing configuration file).Copyright 2019 Ping Identity Corp. All rights reserved.