Class TextFieldDescriptor

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SecretReferenceFieldDescriptor

public class TextFieldDescriptor extends AbstractTextFieldDescriptor
A field descriptor that will render a text field on the GUI configuration screen.
See Also:
  • Constructor Details

    • TextFieldDescriptor

      public TextFieldDescriptor(String name, String description)
      Create a new TextFieldDescriptor. This is the same as using the constructor TextFieldDescriptor(String, String, boolean) with false for the last argument.
    • TextFieldDescriptor

      public TextFieldDescriptor(String name, String description, boolean encrypted)
      Create a new TextFieldDescriptor.
      Parameters:
      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).
  • Method Details

    • isEncrypted

      public boolean isEncrypted()
      Encrypt this text field?