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 org.jline.prompt.impl.DefaultPrompt
message, name -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jline.prompt.impl.DefaultPrompt
getFilter, getMessage, getName, getTransformer, setFilter, setTransformerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jline.prompt.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
-