- All Superinterfaces:
BaseBuilder<KeyPressBuilder>
- All Known Implementing Classes:
DefaultKeyPressBuilder
Builder for key press prompts.
-
Method Summary
Modifier and TypeMethodDescriptionSet the hint text displayed to the user.Methods inherited from interface org.jline.prompt.BaseBuilder
addPrompt, filter, message, name, transformer
-
Method Details
-
hint
Set the hint text displayed to the user.- Parameters:
hint- the hint text (default: "Press any key to continue...")- Returns:
- this builder
-