- All Superinterfaces:
Prompt
- All Known Implementing Classes:
DefaultConfirmPrompt
Interface for confirmation prompts.
A confirmation prompt allows the user to answer yes or no to a question.
-
Method Summary
Methods inherited from interface org.jline.prompt.Prompt
getFilter, getMessage, getName, getTransformer
-
Method Details
-
getDefaultValue
boolean getDefaultValue()Get the default value.- Returns:
- the default value
-