Class DefaultChoiceResult

    • Constructor Detail

      • DefaultChoiceResult

        public DefaultChoiceResult​(java.lang.String selectedId,
                                   ChoicePrompt prompt)
        Create a new DefaultChoiceResult with the given selected ID and item.
        Parameters:
        selectedId - the ID of the selected item
        item - the associated PromptItem, or null if none