| Package | Description |
|---|---|
| liquibase.ui |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultInputHandler<ReturnType>
Default input handler simply calls
ObjectUtil.convert(Object, Class) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
UIService.prompt(String prompt,
T defaultValue,
InputHandler<T> inputHandler,
Class<T> type)
Prompt the user with the message and wait for a response.
If the user hits "enter" OR this UIService implementation does not support user prompts, return the default value. If inputHandler is null, DefaultInputHandler will be used.If inputHandler throws an IllegalArgumentException, the user will be given the chance to re-enter the value.If defaultValue is null, a null value will be returned. |
<T> T |
LoggerUIService.prompt(String prompt,
T defaultValue,
InputHandler<T> inputHandler,
Class<T> type)
This implementation simply returns the default value, since it cannot prompt the user.
|
<T> T |
ConsoleUIService.prompt(String prompt,
T defaultValue,
InputHandler<T> inputHandler,
Class<T> type) |
Copyright © 2021 Liquibase.org. All rights reserved.