2 * Svjatoslav Commons - shared library of common functionality.
3 * Copyright ©2012-2020, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of version 3 of the GNU Lesser General Public License
7 * or later as published by the Free Software Foundation.
10 package eu.svjatoslav.commons.commandline.parameterparser.parameter;
12 import eu.svjatoslav.commons.commandline.parameterparser.ArgumentCount;
13 import eu.svjatoslav.commons.commandline.parameterparser.Parameter;
15 import java.util.List;
17 public class StringParameters extends Parameter<List<String>, StringParameters> {
19 public StringParameters(final String description) {
20 super(description, ArgumentCount.MULTI);
24 public java.lang.String describeFormat() {
25 return "one to many strings";
29 public List<String> getValue() {
34 public boolean validate(final java.lang.String value) {