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 DiagramXMLWordPrintable

      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;
      

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

              Created:
              Updated:
              Resolved: