Package org.dellroad.jct.jshell
Class JShellShell
java.lang.Object
org.dellroad.jct.jshell.JShellShell
- All Implemented Interfaces:
Shell
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewShellSession
(ShellRequest request) Create a new interactive shell session.
-
Constructor Details
-
JShellShell
public JShellShell()
-
-
Method Details
-
newShellSession
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 interfaceShell
- Parameters:
request
- interactive shell request- Returns:
- interactive session, or null on failure
-