Package org.dellroad.jct.core
Interface ShellRequest
- All Superinterfaces:
ConsoleRequest<ShellRequest>
- All Known Implementing Classes:
SimpleShellRequest
Represents a request to create a new
ShellSession
for executing commands interactively.-
Method Summary
Modifier and TypeMethodDescriptionGet the command line arguments for the shell.org.jline.terminal.Terminal
Get the associatedTerminal
.Methods inherited from interface org.dellroad.jct.core.ConsoleRequest
getEnvironment
-
Method Details
-
getTerminal
org.jline.terminal.Terminal getTerminal()Get the associatedTerminal
.- Returns:
- the shell's associated
Terminal
-
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
-