- 
- All Known Implementing Classes:
- FailOverExecutionControlProvider,- JdiExecutionControlProvider,- LocalExecutionControlProvider
 
 public interface ExecutionControlProviderThe provider used by JShell to generate the execution engine needed to evaluate Snippets. Alternate execution engines can be created by implementing this interface, then configuring JShell with the provider or the providers name and parameter specifier.- Since:
- 9
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Map<String,String>defaultParameters()Create and return the default parameter map for thisExecutionControlProvider.ExecutionControlgenerate(ExecutionEnv env, Map<String,String> parameters)Create and return theExecutionControlinstance.Stringname()The unique name of thisExecutionControlProvider.
 
- 
- 
- 
Method Detail- 
nameString name() The unique name of thisExecutionControlProvider. The name must be a sequence of characters from the Basic Multilingual Plane which areCharacter.isJavaIdentifierPart(char).- Returns:
- the ExecutionControlProvider's name
 
 - 
defaultParametersdefault Map<String,String> defaultParameters() Create and return the default parameter map for thisExecutionControlProvider. The map can optionally be modified; Modified or unmodified it can be passed togenerate(jdk.jshell.spi.ExecutionEnv, java.util.Map).- Returns:
- the default parameter map
 
 - 
generateExecutionControl generate(ExecutionEnv env, Map<String,String> parameters) throws Throwable Create and return theExecutionControlinstance.
 
- 
 
-