Class DefaultScriptCustomizer
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.jsr223.DefaultScriptCustomizer
-
- All Implemented Interfaces:
Customizer
,ScriptCustomizer
public class DefaultScriptCustomizer extends Object implements ScriptCustomizer
Default implementation of theScriptCustomizer
that can create the script list from a list of files or from lines of script.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Constructor Summary
Constructors Constructor Description DefaultScriptCustomizer(Collection<List<String>> scripts)
DefaultScriptCustomizer(List<File> files)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
DefaultScriptCustomizer
public DefaultScriptCustomizer(Collection<List<String>> scripts)
-
-
Method Detail
-
getScripts
public Collection<List<String>> getScripts()
Description copied from interface:ScriptCustomizer
Gets a collection of scripts where each is represented as a list of script lines.- Specified by:
getScripts
in interfaceScriptCustomizer
-
-