public class BindingsGremlinPlugin extends AbstractGremlinPlugin
Bindingsto be applied to a
GremlinScriptEngineat the time of creation.
Bindingsdefined with this plugin will always be assigned as
ScriptContext.GLOBAL_SCOPEand as such will be visible to all
GremlinScriptEngineinstances. Note that bindings are applied in the order in which the
BindingsGremlinPlugininstances are added to the
GremlinScriptEngineManager. Therefore if there are two plugins added and both include a variable called "x" then the value of "x" will be the equal to the value provided by the second plugin that overrides the first. This
GremlinPluginis not enabled for the
ServiceLoader. It is designed to be instantiated manually.
|Modifier and Type||Class and Description|
|Modifier and Type||Method and Description|
Builds a set of static bindings.
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static BindingsGremlinPlugin.Builder build()
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.