Package: io.vertx.groovy.ext.shell

## [Groovy] Class Shell

- io.vertx.groovy.ext.shell.Shell

- An interactive session between a consumer and a shell.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `Shell (java.lang.Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `void` | `close()` Close the shell.
    `Job` | `createJob(java.util.List<CliToken> line)` Create a job, the created job should then be executed with the Job.run method.
    `Job` | `createJob(java.lang.String line)` See Shell.createJob
    `java.lang.Object` | `getDelegate()`
    `JobController` | `jobController()` @return the shell's job controller
    `Session` | `session()` @return the current shell session

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Constructor Detail

    - #### Shell(java.lang.Object delegate)

  - ### Method Detail

    - #### void close()

      Close the shell.

    - #### Job createJob(java.util.List<CliToken> line)

      Create a job, the created job should then be executed with the Job.run method.

      Returns:
        the created job
      Parameters:
        `line` - the command line creating this job

    - #### Job createJob(java.lang.String line)

      See Shell.createJob

      Returns:
      Parameters:
        line

    - #### java.lang.Object getDelegate()

    - #### JobController jobController()

      Returns:
        the shell's job controller

    - #### Session session()

      Returns:
        the current shell session