Interface ShellRequest

All Superinterfaces:
ConsoleRequest<ShellRequest>
All Known Implementing Classes:
SimpleShellRequest

public interface ShellRequest extends ConsoleRequest<ShellRequest>
Represents a request to create a new ShellSession for executing commands interactively.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the command line arguments for the shell.
    org.jline.terminal.Terminal
    Get the associated Terminal.

    Methods inherited from interface org.dellroad.jct.core.ConsoleRequest

    getEnvironment
  • Method Details

    • getTerminal

      org.jline.terminal.Terminal getTerminal()
      Get the associated Terminal.
      Returns:
      the shell's associated Terminal
    • getShellArguments

      List<String> getShellArguments()
      Get the command line arguments for the shell.

      How these are interpreted is up to the specific shell being invoked. Some may simply ignore them.

      Returns:
      zero or more shell command line arguments, never null