Class CoreGremlinPlugin
java.lang.Object
org.apache.tinkerpop.gremlin.jsr223.CoreGremlinPlugin
- All Implemented Interfaces:
GremlinPlugin
This module is required for a
ScriptEngine to be Gremlin-enabled. This GremlinPlugin is not enabled
for the ServiceLoader. It is designed to be instantiated manually and compliant GremlinScriptEngine
instances will automatically install it by default when created.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
-
Method Summary
Modifier and TypeMethodDescriptiongetCustomizers(String scriptEngineName) Gets the list ofCustomizerimplementations to assign to a newGremlinScriptEngine.getName()The name of the module.static CoreGremlinPlugininstance()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tinkerpop.gremlin.jsr223.GremlinPlugin
getCustomizers, requireRestart
-
Method Details
-
instance
-
getCustomizers
Description copied from interface:GremlinPluginGets the list ofCustomizerimplementations to assign to a newGremlinScriptEngine. The implementation should filter the returnedCustomizersaccording to the supplied name of the Gremlin-enabledScriptEngine. By providing a filter,GremlinModuledevelopers can have the ability to target specificScriptEngines.- Specified by:
getCustomizersin interfaceGremlinPlugin- Parameters:
scriptEngineName- The name of theScriptEngineor null to get all the availableCustomizers
-
getName
Description copied from interface:GremlinPluginThe name of the module. This name should be unique (use a namespaced approach) as naming clashes will prevent proper module operations. Modules developed by TinkerPop will be prefixed with "tinkerpop." For example, TinkerPop's implementation of Spark would be named "tinkerpop.spark". If Facebook were to do their own implementation the implementation might be called "facebook.spark".- Specified by:
getNamein interfaceGremlinPlugin
-