Class ScriptFileGremlinPlugin
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.jsr223.AbstractGremlinPlugin
-
- org.apache.tinkerpop.gremlin.jsr223.ScriptFileGremlinPlugin
-
- All Implemented Interfaces:
GremlinPlugin
public final class ScriptFileGremlinPlugin extends AbstractGremlinPlugin
Loads scripts from one or more files into theGremlinScriptEngine
at startup. ThisGremlinPlugin
is not enabled for theServiceLoader
. It is designed to be instantiated manually. Those implementingGremlinScriptEngine
instances need to be concerned with accounting for thisCustomizer
. It is handled automatically by theDefaultGremlinScriptEngineManager
.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScriptFileGremlinPlugin.Builder
-
Field Summary
-
Fields inherited from class org.apache.tinkerpop.gremlin.jsr223.AbstractGremlinPlugin
appliesTo, customizers, moduleName
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScriptFileGremlinPlugin.Builder
build()
-
Methods inherited from class org.apache.tinkerpop.gremlin.jsr223.AbstractGremlinPlugin
getCustomizers, getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.tinkerpop.gremlin.jsr223.GremlinPlugin
getCustomizers, requireRestart
-
-
-
-
Method Detail
-
build
public static ScriptFileGremlinPlugin.Builder build()
-
-