valueList

fun StringValuesBuilder.valueList(name: String? = null, defaultValue: List<String> = emptyList(), clearListOnSet: Boolean = true): ReadWriteProperty<StringValuesBuilder, List<String>?>(source)

Sets a string-value via the delegation pattern.

Parameters

name

The string-value's name, if any. By default, the property's name will be used.

defaultValue

The default value to set if the data set on this property is null.

clearListOnSet

Whether to remove the string-value from the list of parameters before appending the new values when set. When false, it would preserve any existing values for the string-value when new values are set.