-
- All Implemented Interfaces:
public final class SingleValueListFieldKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any> SingleValueListField<T>singleList(Prompt $self, String message, Function1<PromptResult, List<ListField.Choice<T>>> choices, Function2<PromptResult, T, Boolean> shouldPrompt, Function2<PromptResult, T, T> default)final static TextListFieldsingleList(Prompt $self, String message, Function1<PromptResult, List<ListField.Choice<String>>> choices, Boolean allowCustom, String customPromptMessage, Function2<PromptResult, String, Boolean> shouldPrompt, Function2<PromptResult, String, String> default)final static <T extends Any> SingleValueListField<T>singleList(Prompt $self, String message, List<ListField.Choice<T>> choices, Function2<PromptResult, T, Boolean> shouldPrompt, Function2<PromptResult, T, T> default)final static TextListFieldsingleList(Prompt $self, String message, List<String> choices, Boolean allowCustom, String customPromptMessage, Function2<PromptResult, String, Boolean> shouldPrompt, Function2<PromptResult, String, String> default)-
-
Method Detail
-
singleList
final static <T extends Any> SingleValueListField<T> singleList(Prompt $self, String message, Function1<PromptResult, List<ListField.Choice<T>>> choices, Function2<PromptResult, T, Boolean> shouldPrompt, Function2<PromptResult, T, T> default)
-
singleList
final static TextListField singleList(Prompt $self, String message, Function1<PromptResult, List<ListField.Choice<String>>> choices, Boolean allowCustom, String customPromptMessage, Function2<PromptResult, String, Boolean> shouldPrompt, Function2<PromptResult, String, String> default)
-
singleList
final static <T extends Any> SingleValueListField<T> singleList(Prompt $self, String message, List<ListField.Choice<T>> choices, Function2<PromptResult, T, Boolean> shouldPrompt, Function2<PromptResult, T, T> default)
-
singleList
final static TextListField singleList(Prompt $self, String message, List<String> choices, Boolean allowCustom, String customPromptMessage, Function2<PromptResult, String, Boolean> shouldPrompt, Function2<PromptResult, String, String> default)
-
-
-
-