ListConverterBuilder

Converter builder for list converters.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Auto-complete callback.

Link copied to clipboard
open lateinit var description: Key

Converter description. Required.

Link copied to clipboard

Whether to ignore parsing errors when no values have been parsed out.

Link copied to clipboard
open var mutator: Mutator<List<T>>

Mutator, used to mutate the parsed value before it's presented.

Link copied to clipboard
open lateinit var name: Key

Converter display name. Required.

Functions

Link copied to clipboard

Register the autocomplete callback for this converter.

Link copied to clipboard
abstract fun build(arguments: Arguments): Converter<*, *, *, *>

Using the data in this builder, create a converter and apply it to an Arguments object.

Link copied to clipboard
open fun mutate(body: Mutator<List<T>>)

Register the mutator for this converter, allowing you to modify the final value.

Link copied to clipboard
open fun validate(body: Validator<List<T>>)

Register the validator for this converter, allowing you to validate the final value.

Link copied to clipboard
open fun validateArgument()

Validate that this builder is set up properly.