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, waitgetCustomizers, requireRestartpublic static final CoreGremlinModule INSTANCE
public Optional<Customizer[]> getCustomizers(String scriptEngineName)
GremlinModuleCustomizer 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 GremlinModulescriptEngineName - The name of the ScriptEngine or null to get all the available Customizerspublic String getName()
GremlinModulegetName in interface GremlinModuleCopyright © 2013–2016 Apache Software Foundation. All rights reserved.