Class DefaultListResult

All Implemented Interfaces:
ListResult, PromptResult<ListPrompt>

public class DefaultListResult extends AbstractPromptResult<ListPrompt> implements ListResult
Implementation of ListResult.
  • Constructor Details

    • DefaultListResult

      public DefaultListResult(String selectedId, ListPrompt prompt)
      Create a new DefaultListResult with the given selected ID and prompt.
      Parameters:
      selectedId - the ID of the selected item
      prompt - the associated ListPrompt, or null if none
  • Method Details