Class Shell


  • public class Shell
    extends Object
    An interactive session between a consumer and a shell.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Field Detail

    • Constructor Detail

      • Shell

        public Shell​(Shell delegate)
      • Shell

        public Shell​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getDelegate

        public Shell getDelegate()
      • createJob

        public Job createJob​(List<CliToken> line)
        Create a job, the created job should then be executed with the Job.run() method.
        Parameters:
        line - the command line creating this job
        Returns:
        the created job
      • jobController

        public JobController jobController()
        Returns:
        the shell's job controller
      • session

        public Session session()
        Returns:
        the current shell session
      • setPrompt

        public void setPrompt​(Function<Session,​String> prompt)
        Set a new prompt in this session.
        Parameters:
        prompt - the new prompt will be calculated when it's needed.
      • close

        public void close()
        Close the shell.
      • newInstance

        public static Shell newInstance​(Shell arg)