Class AbstractGremlinPlugin

    • Field Detail

      • moduleName

        protected final String moduleName
      • customizers

        protected final Customizer[] customizers
      • appliesTo

        protected final Set<String> appliesTo
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: GremlinPlugin
        The 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:
        getName in interface GremlinPlugin
      • getCustomizers

        public Optional<Customizer[]> getCustomizers​(String scriptEngineName)
        Description copied from interface: GremlinPlugin
        Gets the list of 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.
        Specified by:
        getCustomizers in interface GremlinPlugin
        Parameters:
        scriptEngineName - The name of the ScriptEngine or null to get all the available Customizers