Class DefaultInputResult

All Implemented Interfaces:
InputResult, PromptResult<InputPrompt>

public class DefaultInputResult extends AbstractPromptResult<InputPrompt> implements InputResult
Implementation of InputResult.
  • Constructor Details

    • DefaultInputResult

      public DefaultInputResult(String input, String displayInput, InputPrompt prompt)
      Create a new DefaultInputResult with the given input, display input, and item.
      Parameters:
      input - the input text
      displayInput - the display input text (e.g., masked for passwords)
      item - the associated PromptItem, or null if none
  • Method Details