Class StringListConverter

java.lang.Object
com.bakdata.kafka.StringListConverter
All Implemented Interfaces:
picocli.CommandLine.ITypeConverter<List<String>>

public class StringListConverter extends Object implements picocli.CommandLine.ITypeConverter<List<String>>
Converter for lists inside collection type parsed by PicoCLI. List members need to be separated by ;
  • Constructor Details

    • StringListConverter

      public StringListConverter()
  • Method Details

    • convert

      public List<String> convert(String value)
      Specified by:
      convert in interface picocli.CommandLine.ITypeConverter<List<String>>