interface Renderer
Interface for the class responsible for handling messages, errors and user input. Depending on the implementation, can either pipe messages to a log file or some other output (e.g. shell console).
abstract fun printError(exception: Exception): Unit abstract fun printError(msg: String): Unit |
|
abstract fun printLine(msg: String): Unit |
|
abstract fun printTable(columnHeaders: List<String>, rowValues: List<List<String>>, precedingNewLine: Boolean): Unit |
|
abstract fun printWarning(exception: Exception): Unit abstract fun printWarning(msg: String): Unit |
|
abstract fun readInput(promptString: String = "> "): String? |
|
abstract fun readPassword(promptString: String = "> "): String? |
class LoggingRenderer : Renderer
Pipes messages to the provided logging context ctx and reads input from the standard console. |