- All Known Implementing Classes:
- FailOverExecutionControlProvider,- JdiExecutionControlProvider,- LocalExecutionControlProvider
public interface ExecutionControlProvider
The 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 SummaryModifier 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 Details- 
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
 
- 
defaultParametersCreate 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
 
- 
generateCreate and return theExecutionControlinstance.
 
-