public abstract class AbstractNshContext extends Object implements NshContext
NshContext.Watcher| Constructor and Description |
|---|
AbstractNshContext() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaliases, builtins, functions, getAutoComplete, getDirectory, getFileSystem, getHome, getLastResult, getParentContext, getParentNode, getRootNode, getUserProperties, nsh, setAliases, setAutoComplete, setBuiltins, setDirectory, setEnv, setFileSystem, setFunctionManager, setLastResult, setParentNode, setRootNode, varspublic InputStream in()
in in interface NshContextpublic net.thevpc.nuts.io.NPrintStream out()
out in interface NshContextpublic net.thevpc.nuts.io.NPrintStream err()
err in interface NshContextpublic NshContext.Watcher bindStreams(InputStream out, InputStream err, OutputStream in)
bindStreams in interface NshContextpublic NshContext setOut(PrintStream out)
setOut in interface NshContextpublic NshContext setErr(PrintStream err)
setErr in interface NshContextpublic NshContext setIn(InputStream in)
setIn in interface NshContextpublic NshExecutionContext createCommandContext(NshBuiltin command)
createCommandContext in interface NshContextpublic List<NshAutoCompleteCandidate> resolveAutoCompleteCandidates(String commandName, List<String> autoCompleteWords, int wordIndex, String autoCompleteLine)
resolveAutoCompleteCandidates in interface NshContextpublic String getAbsolutePath(String path)
getAbsolutePath in interface NshContextpublic String[] expandPaths(String path)
expandPaths in interface NshContextpublic void copyFrom(NshContext other)
copyFrom in interface NshContextpublic String getServiceName()
getServiceName in interface NshContextpublic void setServiceName(String serviceName)
setServiceName in interface NshContextpublic void setArgs(String[] args)
setArgs in interface NshContextpublic String getArg(int index)
getArg in interface NshContextpublic int getArgsCount()
getArgsCount in interface NshContextpublic String[] getArgsArray()
getArgsArray in interface NshContextpublic List<String> getArgsList()
getArgsList in interface NshContextpublic net.thevpc.nuts.core.NSession getSession()
getSession in interface NshContextpublic NshContext setSession(net.thevpc.nuts.core.NSession session)
setSession in interface NshContextpublic net.thevpc.nuts.core.NWorkspace getWorkspace()
getWorkspace in interface NshContextCopyright © 2026 vpc open source initiative. All rights reserved.