Interface ScriptCustomizer

All Superinterfaces:
Customizer
All Known Implementing Classes:
DefaultScriptCustomizer

public interface ScriptCustomizer extends Customizer
A 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.
Author:
Stephen Mallette (http://stephen.genoprime.com)
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets a collection of scripts where each is represented as a list of script lines.
  • Method Details

    • getScripts

      Collection<List<String>> getScripts()
      Gets a collection of scripts where each is represented as a list of script lines.