Class DefaultChoicePrompt
java.lang.Object
org.jline.prompt.impl.DefaultPrompt
org.jline.prompt.impl.DefaultChoicePrompt
- All Implemented Interfaces:
ChoicePrompt, Prompt
Default implementation of ChoicePrompt interface.
This is now the native implementation that doesn't depend on console-ui.
-
Field Summary
Fields inherited from class DefaultPrompt
message, name -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class DefaultPrompt
getFilter, getMessage, getName, getTransformer, setFilter, setTransformerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Prompt
getFilter, getMessage, getName, getTransformer
-
Constructor Details
-
DefaultChoicePrompt
-
-
Method Details
-
getItems
Description copied from interface:ChoicePromptGet the list of choice items.- Specified by:
getItemsin interfaceChoicePrompt- Returns:
- the list of choice items
-