org.mvel2.sh
Class ShellSession
java.lang.Object
org.mvel2.sh.ShellSession
public class ShellSession
- extends Object
A shell session.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROMPT_VAR
public static final String PROMPT_VAR
- See Also:
- Constant Field Values
ShellSession
public ShellSession()
ShellSession
public ShellSession(String init)
run
public void run()
printPrompt
public void printPrompt()
shouldDefer
public boolean shouldDefer(StringAppender inBuf)
indent
public String indent(int size)
getCommands
public Map<String,Command> getCommands()
getVariables
public Map<String,Object> getVariables()
getEnv
public Map<String,String> getEnv()
getCtxObject
public Object getCtxObject()
setCtxObject
public void setCtxObject(Object ctxObject)
getCommandBuffer
public String getCommandBuffer()
setCommandBuffer
public void setCommandBuffer(String commandBuffer)
exec
public void exec(String command)
Copyright © 2011. All Rights Reserved.