ListBuilder

DSL builder for constructing a set of identifiers used by list-based strategies.

Provides multiple ways to add identifiers:

  • Unary plus operator: +"identifier"

  • add function: add("identifier")

  • addAll function: addAll("id1", "id2", "id3")

See also

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun add(identifier: String)

Adds an identifier to the list.

Link copied to clipboard
fun addAll(vararg identifiers: String)

Adds multiple identifiers to the list.

Link copied to clipboard
operator fun String.unaryPlus()

Adds this string as an identifier to the list.