| Package | Description |
|---|---|
| com.microsoft.azure.common.prompt |
| Modifier and Type | Method and Description |
|---|---|
static <T> InputValidateResult<T> |
InputValidateResult.error(String errorMessage) |
private InputValidateResult<Integer> |
DefaultPrompter.validateUserInputAsInteger(String input,
int maxValue,
String message) |
static <T> InputValidateResult<T> |
InputValidateResult.wrap(T obj) |
| Modifier and Type | Method and Description |
|---|---|
private <T> T |
DefaultPrompter.loopInput(T defaultValue,
boolean hasDefaultValue,
boolean isRequired,
String emptyPromoteMessage,
String promoteMessage,
java.util.function.Function<String,InputValidateResult<T>> handleInput) |
String |
IPrompter.promoteString(String message,
String defaultValue,
java.util.function.Function<String,InputValidateResult<String>> verify,
boolean isRequired)
Promote user to input a text value through a terminal.
|
String |
DefaultPrompter.promoteString(String message,
String defaultValue,
java.util.function.Function<String,InputValidateResult<String>> verify,
boolean isRequired) |
Copyright © 2020. All rights reserved.