public class ShellSession extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ShellSession.RunState |
Modifier and Type | Field and Description |
---|---|
static String |
PROMPT_VAR |
Constructor and Description |
---|
ShellSession() |
ShellSession(String init) |
Modifier and Type | Method and Description |
---|---|
void |
exec(String command) |
String |
getCommandBuffer() |
Map<String,Command> |
getCommands() |
Object |
getCtxObject() |
Map<String,String> |
getEnv() |
Map<String,Object> |
getVariables() |
String |
indent(int size) |
void |
printPrompt() |
void |
run() |
void |
setCommandBuffer(String commandBuffer) |
void |
setCtxObject(Object ctxObject) |
boolean |
shouldDefer(StringAppender inBuf) |
public static final String PROMPT_VAR
public ShellSession()
public ShellSession(String init)
public void run()
public void printPrompt()
public boolean shouldDefer(StringAppender inBuf)
public String indent(int size)
public Object getCtxObject()
public void setCtxObject(Object ctxObject)
public String getCommandBuffer()
public void setCommandBuffer(String commandBuffer)
public void exec(String command)
Copyright © 2013. All Rights Reserved.