Package org.jline.consoleui.prompt
Class ExpandableChoiceResult
java.lang.Object
org.jline.consoleui.prompt.ExpandableChoiceResult
- All Implemented Interfaces:
PromptResultItemIF
Result of an expandable choice. ExpandableChoiceResult contains a String with the
IDs of the selected item.
-
Field Details
-
selectedId
String selectedId
-
-
Constructor Details
-
ExpandableChoiceResult
Default constructor.- Parameters:
selectedId
- the selected id
-
-
Method Details
-
getSelectedId
Returns the selected id.- Returns:
- selected id.
-
getResult
- Specified by:
getResult
in interfacePromptResultItemIF
-
toString
-