Class CustomSourceFieldDescriptor

All Implemented Interfaces:
Serializable

public class CustomSourceFieldDescriptor extends SelectFieldDescriptor
A field descriptor that will render (in GUI configuration screen) a drop down selection of all the configured Custom Source data stores.

The value of this field in the Configuration will be the ID of the Data Store (datasource).

To retrieve a driver configured with the attributes associated with this Custom Source, use the DataSourceAccessor class.
See Also:
  • Constructor Details

    • CustomSourceFieldDescriptor

      public CustomSourceFieldDescriptor(String name, String description)
      Create a new CustomSourceFieldDescriptor.
      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 - A helpful description of the field.
  • Method Details