- All Known Implementing Classes:
BasicConsoleProvider
public interface ConsoleProvider
This is a service interface to provide consoles. It allows there to be multiple console
implementations at runtime based on classpath.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn whether the console is possible to use at allCreate the console.booleanReturn whether this console supports interactive command-line editing.
-
Method Details
-
newConsole
Console newConsole()Create the console. Must not be called unless "isSupported" returned true. -
isSupported
boolean isSupported()Return whether the console is possible to use at all -
supportsEditing
boolean supportsEditing()Return whether this console supports interactive command-line editing.
-