- All Superinterfaces:
PromptResult<ChoicePrompt>
- All Known Implementing Classes:
DefaultChoiceResult
Result of an expandable choice prompt. Contains the ID of the selected item.
-
Method Summary
Methods inherited from interface org.jline.prompt.PromptResult
getDisplayResult, getPrompt, getResult
-
Method Details
-
getSelectedId
String getSelectedId()Get the ID of the selected item.- Returns:
- the ID of the selected item
-