Class Shell

java.lang.Object
io.vertx.mutiny.ext.shell.Shell
All Implemented Interfaces:
MutinyDelegate

public class Shell extends Object implements MutinyDelegate
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 Details

    • __TYPE_ARG

      public static final TypeArg<Shell> __TYPE_ARG
  • Constructor Details

    • Shell

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

      public Shell(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.shell.Shell getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • 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)