public class CoreGremlinModule extends Object implements GremlinModule
ScriptEngine
to be Gremlin-enabled.Modifier and Type | Field and Description |
---|---|
static CoreGremlinModule |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Optional<Customizer[]> |
getCustomizers(String scriptEngineName)
Gets the list of
Customizer implementations to assign to a new GremlinScriptEngine . |
String |
getName()
The name of the module.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCustomizers, requireRestart
public static final CoreGremlinModule INSTANCE
public Optional<Customizer[]> getCustomizers(String scriptEngineName)
GremlinModule
Customizer
implementations to assign to a new GremlinScriptEngine
. The
implementation should filter the returned Customizers
according to the supplied name of the
Gremlin-enabled ScriptEngine
. By providing a filter, GremlinModule
developers can have the
ability to target specific ScriptEngines
.getCustomizers
in interface GremlinModule
scriptEngineName
- The name of the ScriptEngine
or null to get all the available Customizers
public String getName()
GremlinModule
getName
in interface GremlinModule
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.