| 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 |
LoggerUIService.prompt(String prompt,
T valueIfNoEntry,
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 valueIfNoEntry,
InputHandler<T> inputHandler,
Class<T> type) |
<T> T |
UIService.prompt(String prompt,
T valueIfNoEntry,
InputHandler<T> inputHandler,
Class<T> type)
Prompt the user with the message and wait for a response.
If 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 the inputHandler returns true for shouldAllowEmptyInput() and the user enters an empty value
when prompted, or hits "enter", the valueIfNoEntry will be returned. |
Copyright © 2022 Liquibase.org. All rights reserved.