Interface TextPrompt
- All Superinterfaces:
Prompt
- All Known Implementing Classes:
DefaultTextPrompt
Interface for text prompts.
A text prompt displays text to the user without requiring input.
-
Method Summary
Methods inherited from interface Prompt
getFilter, getMessage, getName, getTransformer
-
Method Details
-
getText
-
getLines
List<org.jline.utils.AttributedString> getLines()Get the text lines as AttributedString list. This is used for adding to the header like console-ui's Text.getLines().- Returns:
- the text lines
-