Uses of Interface
liquibase.ui.InputHandler
-
Packages that use InputHandler Package Description liquibase.ui -
-
Uses of InputHandler in liquibase.ui
Classes in liquibase.ui that implement InputHandler Modifier and Type Class Description class
DefaultInputHandler<ReturnType>
Default input handler simply callsObjectUtil.convert(Object, Class)
Methods in liquibase.ui with parameters of type InputHandler Modifier and Type Method Description <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.
-