public abstract class AbstractJShellContext extends Object implements JShellContext
JShellContext.Watcher| Constructor and Description |
|---|
AbstractJShellContext() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaliases, builtins, functions, getAutoComplete, getCwd, getFileSystem, getHome, getLastResult, getParentContext, getParentNode, getRootNode, getShell, getUserProperties, setAliases, setAutoComplete, setBuiltins, setCwd, setEnv, setFileSystem, setFunctionManager, setLastResult, setParentNode, setRootNode, varspublic InputStream in()
in in interface JShellContextpublic net.thevpc.nuts.NutsPrintStream out()
out in interface JShellContextpublic net.thevpc.nuts.NutsPrintStream err()
err in interface JShellContextpublic JShellContext.Watcher bindStreams(InputStream out, InputStream err, OutputStream in)
bindStreams in interface JShellContextpublic JShellContext setOut(PrintStream out)
setOut in interface JShellContextpublic JShellContext setErr(PrintStream err)
setErr in interface JShellContextpublic JShellContext setIn(InputStream in)
setIn in interface JShellContextpublic JShellExecutionContext createCommandContext(JShellBuiltin command)
createCommandContext in interface JShellContextpublic List<JShellAutoCompleteCandidate> resolveAutoCompleteCandidates(String commandName, List<String> autoCompleteWords, int wordIndex, String autoCompleteLine)
resolveAutoCompleteCandidates in interface JShellContextpublic String getAbsolutePath(String path)
getAbsolutePath in interface JShellContextpublic String[] expandPaths(String path)
expandPaths in interface JShellContextpublic void copyFrom(JShellContext other)
copyFrom in interface JShellContextpublic String getServiceName()
getServiceName in interface JShellContextpublic void setServiceName(String serviceName)
setServiceName in interface JShellContextpublic void setArgs(String[] args)
setArgs in interface JShellContextpublic String getArg(int index)
getArg in interface JShellContextpublic int getArgsCount()
getArgsCount in interface JShellContextpublic String[] getArgsArray()
getArgsArray in interface JShellContextpublic List<String> getArgsList()
getArgsList in interface JShellContextpublic net.thevpc.nuts.NutsSession getSession()
getSession in interface JShellContextpublic JShellContext setSession(net.thevpc.nuts.NutsSession session)
setSession in interface JShellContextpublic net.thevpc.nuts.NutsWorkspace getWorkspace()
getWorkspace in interface JShellContextCopyright © 2022 vpc open source initiative. All rights reserved.