public class NshContextForSource extends AbstractNshContext
NshContext.Watcher| Constructor and Description |
|---|
NshContextForSource(NshContext other) |
| Modifier and Type | Method and Description |
|---|---|
NshAliasManager |
aliases() |
NshBuiltinManager |
builtins() |
NCmdLineComplete |
complete() |
NshFunctionManager |
functions() |
String |
getDirectory() |
NshFileSystem |
getFileSystem() |
String |
getHome() |
NshResult |
getLastResult() |
NshContext |
getParentContext() |
NshNode |
getParentNode() |
NshNode |
getRootNode() |
NSession |
getSession() |
Map<String,Object> |
getUserProperties() |
NWorkspace |
getWorkspace() |
Nsh |
nsh() |
void |
setAliases(NshAliasManager aliasManager) |
void |
setAutoComplete(NCmdLineComplete value) |
void |
setBuiltins(NshBuiltinManager commandManager) |
void |
setDirectory(String cwd) |
NshContext |
setEnv(Map<String,String> env) |
void |
setFileSystem(NshFileSystem fileSystem) |
void |
setFunctionManager(NshFunctionManager functionManager) |
void |
setLastResult(NshResult result) |
NshContext |
setParentNode(NshNode parent) |
NshContext |
setRootNode(NshNode root) |
NshVariables |
vars() |
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 NSession getSession()
getSession in interface NshContextgetSession in class AbstractNshContextpublic 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 NCmdLineComplete complete()
public void setAutoComplete(NCmdLineComplete value)
public void setFunctionManager(NshFunctionManager functionManager)
Copyright © 2026 vpc open source initiative. All rights reserved.