public class StringArrayParam extends Param<String[]>
Param[Array[String}
for Java.Constructor and Description |
---|
StringArrayParam(Params parent,
String name,
String doc) |
StringArrayParam(Params parent,
String name,
String doc,
scala.Function1<String[],Object> isValid) |
Modifier and Type | Method and Description |
---|---|
String[] |
jsonDecode(String json)
Decodes a param value from JSON.
|
String |
jsonEncode(String[] value)
Encodes a param value into JSON, which can be decoded by `jsonDecode()`.
|
ParamPair<String[]> |
w(java.util.List<String> value)
Creates a param pair with a
List of values (for Java and Python). |
public StringArrayParam(Params parent, String name, String doc, scala.Function1<String[],Object> isValid)
public StringArrayParam(Params parent, String name, String doc)
public ParamPair<String[]> w(java.util.List<String> value)
List
of values (for Java and Python).public String jsonEncode(String[] value)
Param
jsonEncode
in class Param<String[]>
public String[] jsonDecode(String json)
Param
jsonDecode
in class Param<String[]>