public static final class ScriptFileGremlinPlugin.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ScriptFileGremlinPlugin.Builder |
appliesTo(Collection<String> scriptEngineNames)
The name of the
GremlinScriptEngine that this module will apply to. |
ScriptFileGremlinPlugin |
create() |
ScriptFileGremlinPlugin.Builder |
files(List<String> files) |
public ScriptFileGremlinPlugin.Builder appliesTo(Collection<String> scriptEngineNames)
GremlinScriptEngine
that this module will apply to. Setting no values here will
make the module available to all the engines. Typically, this value should be set as a script's syntax will
be bound to the GremlinScriptEngine
language.public ScriptFileGremlinPlugin.Builder files(List<String> files)
public ScriptFileGremlinPlugin create()
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.