public class DefaultNSystemTerminalBase extends NSystemTerminalBaseImpl
NSystemTerminalBase.Cursor, NSystemTerminalBase.Size| Modifier and Type | Field and Description |
|---|---|
static NDuration |
EXPIRY_30S |
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
DefaultNSystemTerminalBase(NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
NCmdLineAutoCompleteResolver |
getAutoCompleteResolver() |
String |
getCommandHighlighter() |
NCmdLineHistory |
getCommandHistory() |
NPrintStream |
getErr() |
InputStream |
getIn() |
NPrintStream |
getOut() |
int |
getScore(NScorableContext criteria) |
boolean |
isAutoCompleteSupported() |
String |
readLine(NPrintStream out,
NMsg message) |
char[] |
readPassword(NPrintStream out,
NMsg message) |
Object |
run(NTerminalCmd command,
NPrintStream printStream) |
NSystemTerminalBase |
setCommandAutoCompleteResolver(NCmdLineAutoCompleteResolver autoCompleteResolver) |
DefaultNSystemTerminalBase |
setCommandHighlighter(String commandHighlighter) |
NSystemTerminalBase |
setCommandHistory(NCmdLineHistory history) |
void |
setStyles(NTextStyles styles,
NPrintStream printStream) |
clearScreen, getTerminalCursor, getTerminalSize, resetLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisValidScore, query, querypublic static final NDuration EXPIRY_30S
public DefaultNSystemTerminalBase(NWorkspace workspace)
public int getScore(NScorableContext criteria)
public String readLine(NPrintStream out, NMsg message)
public char[] readPassword(NPrintStream out, NMsg message)
public InputStream getIn()
public NPrintStream getOut()
public NPrintStream getErr()
public NCmdLineAutoCompleteResolver getAutoCompleteResolver()
public boolean isAutoCompleteSupported()
public NSystemTerminalBase setCommandAutoCompleteResolver(NCmdLineAutoCompleteResolver autoCompleteResolver)
public NCmdLineHistory getCommandHistory()
public NSystemTerminalBase setCommandHistory(NCmdLineHistory history)
public String getCommandHighlighter()
public DefaultNSystemTerminalBase setCommandHighlighter(String commandHighlighter)
public Object run(NTerminalCmd command, NPrintStream printStream)
public void setStyles(NTextStyles styles, NPrintStream printStream)
Copyright © 2025 vpc open source initiative. All rights reserved.