public class ConsoleUserInput extends Object
| Constructor and Description |
|---|
ConsoleUserInput(org.jline.reader.LineReader lineReader) |
| Modifier and Type | Method and Description |
|---|---|
String |
prompt(String prompt,
String defaultValue,
boolean echo) |
String |
promptWithOptions(String prompt,
String defaultValue,
String... options)
Loops until one of the
options is provided. |
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.