Package liquibase.ui
Class ConsoleUIService.ConsoleWrapper
java.lang.Object
liquibase.ui.ConsoleUIService.ConsoleWrapper
- Direct Known Subclasses:
MockConsoleWrapper
- Enclosing class:
- ConsoleUIService
Wrapper around
Console
to allow replacements as needed.
If the passed Console
is null, supportsInput()
will return false, and readLine()
will return null.-
Constructor Summary
ConstructorDescriptionConsoleWrapper
(Console console) This constructor is used for extensions that provide UIService implementationsConsoleWrapper
(Console console, boolean useStdInParam) -
Method Summary
-
Constructor Details
-
ConsoleWrapper
This constructor is used for extensions that provide UIService implementations- Parameters:
console
- the console to use
-
ConsoleWrapper
-
-
Method Details
-
readLine
-
supportsInput
public boolean supportsInput()
-