public interface BindingsCustomizer extends Customizer
GremlinScriptEngine
. Those implementing GremlinScriptEngine
instances need to be concerned with accounting for this Customizer
. It is handled automatically by the
DefaultGremlinScriptEngineManager
.Modifier and Type | Method and Description |
---|---|
Bindings |
getBindings()
Gets the bindings to add to a
GremlinScriptEngine . |
int |
getScope()
Gets the scope to which the bindings apply.
|
Bindings getBindings()
GremlinScriptEngine
.int getScope()
ScriptContext
values where
"100" is EngineScope
(bindings apply to the current GremlinScriptEngine
) and "200" is
GlobalScope
(bindings apply to the engines created by the current GremlinScriptEngineManager
.Copyright © 2013–2020 Apache Software Foundation. All rights reserved.