Package: org.apache.groovy.groovysh

## [Groovy] Class InteractiveShellRunner

- org.apache.groovy.groovysh.InteractiveShellRunner

- All Implemented Interfaces and Traits:
    Runnable

      class InteractiveShellRunner
      extends ShellRunner

  Support for running a Shell interactively using the JLine library.

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class ShellRunner` | `log`

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `private CommandsMultiCompleter` | `completer`
    `private Closure` | `prompt`
    `private ConsoleReader` | `reader`
    `private WrappedInputStream` | `wrappedInputStream`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `InteractiveShellRunner (Groovysh shell, Closure prompt)`
    `InteractiveShellRunner ()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `protected String` | `readLine()`
    `` | `void` | `run()`
    `` | `void` | `setHistory(FileHistory history)`
    `` | `protected boolean` | `work()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class ShellRunner` | `readLine, run, work`

- - ### Property Detail

    - #### private final CommandsMultiCompleter completer

    - #### private final Closure prompt

    - #### private ConsoleReader reader

    - #### private WrappedInputStream wrappedInputStream

  - ### Constructor Detail

    - #### InteractiveShellRunner(Groovysh shell, Closure prompt)

    - #### InteractiveShellRunner()

  - ### Method Detail

    - #### @OverrideOverride protected String readLine()

    - #### @OverrideOverride void run()

    - #### void setHistory(FileHistory history)

    - #### @OverrideOverride protected boolean work()