Class JShellShell

java.lang.Object
org.dellroad.jct.jshell.JShellShell
All Implemented Interfaces:
Shell

public class JShellShell extends Object implements Shell
A Shell wrapper around JShell.
  • Constructor Details

    • JShellShell

      public JShellShell()
  • Method Details

    • newShellSession

      public JShellShellSession newShellSession(ShellRequest request)
      Description copied from interface: Shell
      Create a new interactive shell session.

      If the request fails, this method should return null and write an error message to request.getTerminal().

      Specified by:
      newShellSession in interface Shell
      Parameters:
      request - interactive shell request
      Returns:
      interactive session, or null on failure