Non Nullable Arity Set Option Builder
class NonNullableAritySetOptionBuilder<T : Any> : PropertyDelegateProvider<Arguments, ReadOnlyProperty<Arguments, Set<List<T>>>> (source)
Builder for arity-based set options that return non-nullable sets of lists.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun provideDelegate(thisRef: Arguments, property: KProperty<*>): ReadOnlyProperty<Arguments, Set<List<T>>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <U> requireIfValue(ref: KProperty<U>, predicate: (U?) -> Boolean): NonNullableAritySetOptionBuilder<T>
Link copied to clipboard
fun validateCollection(message: String = "Invalid collection for @name: @value", predicate: (Set<List<T>>) -> Boolean): NonNullableAritySetOptionBuilder<T>
Validates the entire collection of arity groups for this non-nullable set option. The predicate receives the complete Set> value (never null).