public interface MultiItemSelectorSpec extends BaseInputSpec<MultiItemSelectorSpec>
getThis, orderMultiItemSelectorSpec name(String name)
name - the nameMultiItemSelectorSpec resultValues(List<String> resultValues)
resultValues - the result valuesMultiItemSelectorSpec resultMode(ResultMode resultMode)
resultMode - the result modeMultiItemSelectorSpec selectItems(List<SelectItem> selectItems)
selectItems - the select itemsMultiItemSelectorSpec sort(Comparator<SelectorItem<String>> comparator)
Comparator for sorting items.comparator - the item comparatorMultiItemSelectorSpec renderer(Function<MultiItemSelector.MultiItemSelectorContext<String,SelectorItem<String>>,List<org.jline.utils.AttributedString>> renderer)
renderer - the rendererMultiItemSelectorSpec template(String location)
location - the template locationMultiItemSelectorSpec max(int max)
max - the maximum number of itemsMultiItemSelectorSpec preHandler(Consumer<MultiItemSelector.MultiItemSelectorContext<String,SelectorItem<String>>> handler)
handler - the context handlerMultiItemSelectorSpec postHandler(Consumer<MultiItemSelector.MultiItemSelectorContext<String,SelectorItem<String>>> handler)
handler - the context handlerMultiItemSelectorSpec storeResult(boolean store)
MultiItemSelector.MultiItemSelectorContext into
 ComponentContext with key given to builder. Defaults to true.store - the flag if storing resultMultiItemSelectorSpec next(Function<MultiItemSelector.MultiItemSelectorContext<String,SelectorItem<String>>,String> next)
next - next component functionComponentFlow.Builder and()
Copyright © 2022. All rights reserved.