Interface ConfirmResult

All Superinterfaces:
PromptResult<ConfirmPrompt>
All Known Implementing Classes:
DefaultConfirmResult

public interface ConfirmResult extends PromptResult<ConfirmPrompt>
Result of a confirmation prompt. Contains a boolean value indicating whether the user confirmed.
  • Method Details

    • getConfirmed

      Get the confirmation value.
      Returns:
      the confirmation value
    • isConfirmed

      boolean isConfirmed()
      Check if the user confirmed (answered YES).
      Returns:
      true if the user confirmed, false otherwise