public interface ScriptCustomizer extends Customizer
Customizer
that executes scripts in a GremlinScriptEngine
instance for purpose of initialization.
Implementors of a GremlinScriptEngine
do not need to be concerned with supporting this Customizer
.
This is work for the ScriptEngineManager
implementation since scripts typically require access to global
bindings and those are not applied to the GremlinScriptEngine
until after construction.Modifier and Type | Method and Description |
---|---|
Collection<List<String>> |
getScripts()
Gets a collection of scripts where each is represented as a list of script lines.
|
Collection<List<String>> getScripts()
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.