- All Superinterfaces:
PromptResult<ListPrompt>
- All Known Implementing Classes:
DefaultListResult
Result of a list choice. Holds 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
-