Class StringListParameter

java.lang.Object
google.registry.tools.params.ParameterConverterValidator<List<String>>
google.registry.tools.params.StringListParameter
All Implemented Interfaces:
com.beust.jcommander.IParameterValidator, com.beust.jcommander.IStringConverter<List<String>>

public class StringListParameter extends ParameterConverterValidator<List<String>>
Converter for lists of String params that omits any empty strings.

JCommander automatically parses a comma-separated list well enough, but it parses the empty list, e.g. "--foo=" as a list consisting solely of the empty string, which is not what we want.