public class DefaultNutsSystemTerminalBase
extends net.thevpc.nuts.spi.NutsSystemTerminalBaseImpl
| Modifier and Type | Field and Description |
|---|---|
static int |
THIRTY_SECONDS |
| Constructor and Description |
|---|
DefaultNutsSystemTerminalBase() |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsCommandAutoCompleteResolver |
getAutoCompleteResolver() |
String |
getCommandHighlighter() |
net.thevpc.nuts.NutsCommandHistory |
getCommandHistory() |
net.thevpc.nuts.NutsPrintStream |
getErr() |
InputStream |
getIn() |
net.thevpc.nuts.NutsPrintStream |
getOut() |
int |
getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext criteria) |
boolean |
isAutoCompleteSupported() |
String |
readLine(net.thevpc.nuts.NutsPrintStream out,
net.thevpc.nuts.NutsMessage message,
net.thevpc.nuts.NutsSession session) |
char[] |
readPassword(net.thevpc.nuts.NutsPrintStream out,
net.thevpc.nuts.NutsMessage message,
net.thevpc.nuts.NutsSession session) |
Object |
run(net.thevpc.nuts.NutsTerminalCommand command,
net.thevpc.nuts.NutsSession session) |
net.thevpc.nuts.spi.NutsSystemTerminalBase |
setCommandAutoCompleteResolver(net.thevpc.nuts.NutsCommandAutoCompleteResolver autoCompleteResolver) |
DefaultNutsSystemTerminalBase |
setCommandHighlighter(String commandHighlighter) |
net.thevpc.nuts.spi.NutsSystemTerminalBase |
setCommandHistory(net.thevpc.nuts.NutsCommandHistory history) |
void |
setStyles(net.thevpc.nuts.NutsTextStyles styles,
net.thevpc.nuts.NutsSession session) |
public static final int THIRTY_SECONDS
public int getSupportLevel(net.thevpc.nuts.spi.NutsSupportLevelContext criteria)
public String readLine(net.thevpc.nuts.NutsPrintStream out, net.thevpc.nuts.NutsMessage message, net.thevpc.nuts.NutsSession session)
public char[] readPassword(net.thevpc.nuts.NutsPrintStream out,
net.thevpc.nuts.NutsMessage message,
net.thevpc.nuts.NutsSession session)
public InputStream getIn()
public net.thevpc.nuts.NutsPrintStream getOut()
public net.thevpc.nuts.NutsPrintStream getErr()
public net.thevpc.nuts.NutsCommandAutoCompleteResolver getAutoCompleteResolver()
public boolean isAutoCompleteSupported()
public net.thevpc.nuts.spi.NutsSystemTerminalBase setCommandAutoCompleteResolver(net.thevpc.nuts.NutsCommandAutoCompleteResolver autoCompleteResolver)
public net.thevpc.nuts.NutsCommandHistory getCommandHistory()
public net.thevpc.nuts.spi.NutsSystemTerminalBase setCommandHistory(net.thevpc.nuts.NutsCommandHistory history)
public String getCommandHighlighter()
public DefaultNutsSystemTerminalBase setCommandHighlighter(String commandHighlighter)
public Object run(net.thevpc.nuts.NutsTerminalCommand command, net.thevpc.nuts.NutsSession session)
public void setStyles(net.thevpc.nuts.NutsTextStyles styles,
net.thevpc.nuts.NutsSession session)
Copyright © 2022 vpc open source initiative. All rights reserved.