Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-779

Drop down list Java type in configuration class

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    Description

      Could not make a drop down list using list of Strings type in Configuration class as it is described in tutorial (https://talend.github.io/component-runtime/main/0.0.7/gallery.html):

      @Option
      List<String> config;
      

      But seems like it works with enum, for example:

          public enum OutputAction {
              INSERT, UPDATE, UPSERT, DELETE
          }
      
          @Option
          @Documentation("TODO fill the documentation for this parameter")
          private OutputAction outputAction;
      

      Attachments

        Activity

          People

            fleborgne Florent Le Borgne
            ovarnavina Olha Varnavina (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: