Interface ScriptCustomizer
-
- All Superinterfaces:
Customizer
- All Known Implementing Classes:
DefaultScriptCustomizer
public interface ScriptCustomizer extends Customizer
ACustomizer
that executes scripts in aGremlinScriptEngine
instance for purpose of initialization. Implementors of aGremlinScriptEngine
do not need to be concerned with supporting thisCustomizer
. This is work for theScriptEngineManager
implementation since scripts typically require access to global bindings and those are not applied to theGremlinScriptEngine
until after construction.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<List<String>>
getScripts()
Gets a collection of scripts where each is represented as a list of script lines.
-
-
-
Method Detail
-
getScripts
Collection<List<String>> getScripts()
Gets a collection of scripts where each is represented as a list of script lines.
-
-