ExecutionControlProvider
public class LocalExecutionControlProvider extends Object implements ExecutionControlProvider
Constructor | Description |
---|---|
LocalExecutionControlProvider() |
Create an instance. |
Modifier and Type | Method | Description |
---|---|---|
Map |
defaultParameters() |
Create and return the default parameter map for LocalExecutionControlProvider . |
ExecutionControl |
generate |
Create and return a locally executing ExecutionControl instance. |
String |
name() |
The unique name of this ExecutionControlProvider . |
public LocalExecutionControlProvider()
ExecutionControl
instance that executes code in the same process.public String name()
ExecutionControlProvider
.name
in interface ExecutionControlProvider
public Map<String,String> defaultParameters()
LocalExecutionControlProvider
. LocalExecutionControlProvider
has no parameters.defaultParameters
in interface ExecutionControlProvider
public ExecutionControl generate(ExecutionEnv env, Map<String,String> parameters)
ExecutionControl
instance.generate
in interface ExecutionControlProvider
env
- the execution environment, provided by JShellparameters
- the default or modified parameter map.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.jshell/jdk/jshell/execution/LocalExecutionControlProvider.html