ExecutionEnv (Java SE 15 & JDK 15) (original) (raw)
public interface ExecutionEnv
Functionality made available to a pluggable JShell execution engine. It is provided to the execution engine by the core JShell implementation.
This interface is designed to provide the access to core JShell functionality needed to implement ExecutionControl.
Since:
9
See Also:
Method Summary
Modifier and Type | Method | Description |
---|---|---|
void | closeDown() | Reports that the execution engine has shutdown. |
List<String> | extraRemoteVMOptions() | Returns the additional VM options to be used when launching the remote JVM. |
PrintStream | userErr() | Returns the user's error stream. |
InputStream | userIn() | Returns the user's input stream. |
PrintStream | userOut() | Returns the user's output stream. |
Method Details
userIn
Returns the user's input stream.
Returns:
the user's input streamuserOut
Returns the user's output stream.
Returns:
the user's output streamuserErr
Returns the user's error stream.
Returns:
the user's error streamcloseDown
void closeDown()
Reports that the execution engine has shutdown.