| Modifier and Type | Field and Description | 
|---|---|
| Map<String,Object> | configA Map of configuration settings for the  ScriptEngine. | 
| List<String> | importsA comma separated list of classes/packages to make available to the  ScriptEngine. | 
| Map<String,Map<String,Object>> | pluginsA set of configurations for  GremlinPlugininstances to apply to thisGremlinScriptEngine. | 
| List<String> | scriptsA comma separated list of script files to execute on  ScriptEngineinitialization. | 
| List<String> | staticImportsA comma separated list of "static" imports to make available to the  ScriptEngine. | 
| Constructor and Description | 
|---|
| ScriptEngineSettings() | 
public List<String> imports
ScriptEngine.public List<String> staticImports
ScriptEngine.public List<String> scripts
ScriptEngine initialization. Graph and
 TraversalSource instance references produced from scripts will be stored globally in Gremlin
 Server, therefore it is possible to use initialization scripts to add TraversalStrategy instances
 or create entirely new Graph instances all together. Instantiating a LifeCycleHook in a
 script provides a way to execute scripts when Gremlin Server starts and stops.public Map<String,Object> config
ScriptEngine. These settings are dependent on the
 ScriptEngine implementation being used.public Map<String,Map<String,Object>> plugins
GremlinPlugin instances to apply to this GremlinScriptEngine.
 Plugins will be applied in the order they are listed.Copyright © 2013–2023 Apache Software Foundation. All rights reserved.