Package org.mvel2.sh

Class ShellSession


  • public class ShellSession
    extends Object
    A shell session.
    • Constructor Detail

      • ShellSession

        public ShellSession()
      • ShellSession

        public ShellSession​(String init)
    • Method Detail

      • run

        public void run()
      • printPrompt

        public void printPrompt()
      • indent

        public String indent​(int size)
      • 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)