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

    • Bug
    • Status: Done
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • None

    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
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: