ExecutionControlProvider
public class LocalExecutionControlProvider extends Object implements ExecutionControlProvider
Constructor | Description |
---|---|
LocalExecutionControlProvider() |
Create an instance.
|
Modifier and Type | Method | Description |
---|---|---|
Map<String,String> |
defaultParameters() |
Create and return the default parameter map for
LocalExecutionControlProvider . |
ExecutionControl |
generate(ExecutionEnv env,
Map<String,String> parameters) |
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. Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 2015, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b151-2