public class DefaultNutsSystemTerminalBaseBoot extends Object implements NutsSystemTerminalBase
CUSTOM_SUPPORT, DEFAULT_SUPPORT, NO_SUPPORT| Constructor and Description |
|---|
DefaultNutsSystemTerminalBaseBoot(DefaultNutsBootModel bootModel) |
| Modifier and Type | Method and Description |
|---|---|
NutsCommandAutoCompleteResolver |
getAutoCompleteResolver() |
NutsCommandHistory |
getCommandHistory() |
NutsCommandReadHighlighter |
getCommandReadHighlighter() |
NutsPrintStream |
getErr() |
InputStream |
getIn() |
NutsPrintStream |
getOut() |
int |
getSupportLevel(NutsSupportLevelContext<NutsTerminalSpec> criteria) |
boolean |
isAutoCompleteSupported() |
String |
readLine(NutsPrintStream out,
NutsMessage message,
NutsSession session) |
char[] |
readPassword(NutsPrintStream out,
NutsMessage message,
NutsSession session) |
NutsSystemTerminalBase |
setCommandAutoCompleteResolver(NutsCommandAutoCompleteResolver autoCompleteResolver) |
NutsSystemTerminalBase |
setCommandHistory(NutsCommandHistory history) |
NutsSystemTerminalBase |
setCommandReadHighlighter(NutsCommandReadHighlighter commandReadHighlighter) |
public DefaultNutsSystemTerminalBaseBoot(DefaultNutsBootModel bootModel)
public int getSupportLevel(NutsSupportLevelContext<NutsTerminalSpec> criteria)
getSupportLevel in interface NutsComponent<NutsTerminalSpec>public NutsCommandAutoCompleteResolver getAutoCompleteResolver()
getAutoCompleteResolver in interface NutsSystemTerminalBasepublic boolean isAutoCompleteSupported()
isAutoCompleteSupported in interface NutsSystemTerminalBasepublic NutsSystemTerminalBase setCommandAutoCompleteResolver(NutsCommandAutoCompleteResolver autoCompleteResolver)
setCommandAutoCompleteResolver in interface NutsSystemTerminalBasepublic NutsSystemTerminalBase setCommandHistory(NutsCommandHistory history)
setCommandHistory in interface NutsSystemTerminalBasepublic NutsCommandHistory getCommandHistory()
getCommandHistory in interface NutsSystemTerminalBasepublic NutsCommandReadHighlighter getCommandReadHighlighter()
getCommandReadHighlighter in interface NutsSystemTerminalBasepublic NutsSystemTerminalBase setCommandReadHighlighter(NutsCommandReadHighlighter commandReadHighlighter)
setCommandReadHighlighter in interface NutsSystemTerminalBasepublic String readLine(NutsPrintStream out, NutsMessage message, NutsSession session)
readLine in interface NutsSystemTerminalBasepublic char[] readPassword(NutsPrintStream out, NutsMessage message, NutsSession session)
readPassword in interface NutsSystemTerminalBasepublic InputStream getIn()
getIn in interface NutsSystemTerminalBasepublic NutsPrintStream getOut()
getOut in interface NutsSystemTerminalBasepublic NutsPrintStream getErr()
getErr in interface NutsSystemTerminalBaseCopyright © 2021 vpc open source initiative. All rights reserved.