public class NshContextForSource extends AbstractNshContext
NshContext.Watcher| Constructor and Description |
|---|
NshContextForSource(NshContext other) |
bindStreams, copyFrom, createCommandContext, err, expandPaths, getAbsolutePath, getArg, getArgsArray, getArgsCount, getArgsList, getServiceName, in, out, resolveAutoCompleteCandidates, setArgs, setErr, setIn, setOut, setServiceName, setSessionpublic NshContextForSource(NshContext other)
public Nsh nsh()
public NshNode getRootNode()
public NshContext setRootNode(NshNode root)
public net.thevpc.nuts.core.NSession getSession()
getSession in interface NshContextgetSession in class AbstractNshContextpublic net.thevpc.nuts.core.NWorkspace getWorkspace()
getWorkspace in interface NshContextgetWorkspace in class AbstractNshContextpublic NshNode getParentNode()
public NshContext setParentNode(NshNode parent)
public NshVariables vars()
public NshFunctionManager functions()
public NshContext setEnv(Map<String,String> env)
public String getDirectory()
public String getHome()
public void setDirectory(String cwd)
public NshFileSystem getFileSystem()
public void setFileSystem(NshFileSystem fileSystem)
public NshContext getParentContext()
public NshAliasManager aliases()
public void setBuiltins(NshBuiltinManager commandManager)
public NshBuiltinManager builtins()
public NshResult getLastResult()
public void setLastResult(NshResult result)
public void setAliases(NshAliasManager aliasManager)
public net.thevpc.nuts.cmdline.NCmdLineAutoComplete getAutoComplete()
public void setAutoComplete(net.thevpc.nuts.cmdline.NCmdLineAutoComplete value)
public void setFunctionManager(NshFunctionManager functionManager)
Copyright © 2026 vpc open source initiative. All rights reserved.