public class RootShell extends Msh
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
log |
exitCodeSTILL_ACTIVE, SUBSYSTEM_CALLBACK, SUBSYSTEM_FILESYSTEM, SUBSYSTEM_HELP, SUBSYSTEM_JVM, SUBSYSTEM_POLICY, SUBSYSTEM_SHELL, SUBSYSTEM_SSHD, SUBSYSTEM_SYSTEM, SUBSYSTEM_TEXT_EDITING| Constructor and Description |
|---|
RootShell() |
| Modifier and Type | Method and Description |
|---|---|
void |
execCommand(com.maverick.util.DynamicBuffer input,
TerminalOutput term,
String cmd,
SessionChannel session) |
void |
exit() |
VirtualProcess |
getProcess() |
protected void |
initVFS(SessionChannel session) |
void |
run(org.apache.commons.cli.CommandLine args,
VirtualProcess process) |
protected void |
setKeyBindings(InputStream keyBindings) |
void |
start() |
boolean |
startShell(com.maverick.util.DynamicBuffer input,
TerminalOutput term,
SessionChannel session) |
doSpawn, getLastError, parseArgs, parseLine, source, source, spawncomplete, getCollection, getCommandName, getDescription, getExitCode, getName, getOptions, getSignature, getSubsystem, isBuiltIn, setBuiltIn, setDescription, setName, setSignature, setSubsystempublic void run(org.apache.commons.cli.CommandLine args,
VirtualProcess process)
throws IOException,
PermissionDeniedException
run in interface ShellCommandrun in class MshIOExceptionPermissionDeniedExceptionpublic boolean startShell(com.maverick.util.DynamicBuffer input,
TerminalOutput term,
SessionChannel session)
throws IOException,
PermissionDeniedException
IOExceptionPermissionDeniedExceptionprotected void setKeyBindings(InputStream keyBindings) throws IOException
IOExceptionpublic void execCommand(com.maverick.util.DynamicBuffer input,
TerminalOutput term,
String cmd,
SessionChannel session)
throws IOException,
PermissionDeniedException
IOExceptionPermissionDeniedExceptionpublic VirtualProcess getProcess()
protected void initVFS(SessionChannel session) throws PermissionDeniedException, IOException
PermissionDeniedExceptionIOExceptionpublic void start()
Copyright © 2012. All Rights Reserved.