Package org.mvel2.sh
Class ShellSession
java.lang.Object
org.mvel2.sh.ShellSession
A shell session.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetEnv()indent(int size) voidvoidrun()voidsetCommandBuffer(String commandBuffer) voidsetCtxObject(Object ctxObject) booleanshouldDefer(StringAppender inBuf)
-
Field Details
-
PROMPT_VAR
- See Also:
-
-
Constructor Details
-
ShellSession
public ShellSession() -
ShellSession
-
-
Method Details
-
run
public void run() -
printPrompt
public void printPrompt() -
shouldDefer
-
indent
-
getCommands
-
getVariables
-
getEnv
-
getCtxObject
-
setCtxObject
-
getCommandBuffer
-
setCommandBuffer
-
exec
-