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 Mutiny-ified interface using Vert.x codegen.

    • Field Detail

    • Constructor Detail

      • Shell

        public Shell​(io.vertx.ext.shell.Shell delegate)
      • Shell

        public Shell​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.shell.Shell getDelegate()
      • hashCode

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

        public Job createJob​(List<CliToken> line)
        Parameters:
        line - the command line creating this job
        Returns:
        the created job
      • createJob

        public Job createJob​(String line)
        Parameters:
        line -
        Returns:
      • 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)
        Parameters:
        prompt - the new prompt will be calculated when it's needed.
      • close

        public void close()
      • newInstance

        public static Shell newInstance​(io.vertx.ext.shell.Shell arg)