Uses of Interface
liquibase.ui.InputHandler
-
Uses of InputHandler in liquibase.ui
Modifier and TypeClassDescriptionclass
DefaultInputHandler<ReturnType>
Default input handler simply callsObjectUtil.convert(Object, Class)
Modifier and TypeMethodDescription<T> T
CompositeUIService.prompt
(String prompt, T valueIfNoEntry, InputHandler<T> inputHandler, Class<T> type) <T> T
ConsoleUIService.prompt
(String prompt, T valueIfNoEntry, InputHandler<T> inputHandler, Class<T> type) <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
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 anIllegalArgumentException
, the user will be given the chance to re-enter the value.
If the inputHandler returns true forshouldAllowEmptyInput()
and the user enters an empty value when prompted, or hits "enter", the valueIfNoEntry will be returned.