Class VariableResolverPlugin.Builder
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.jsr223.VariableResolverPlugin.Builder
-
- Enclosing class:
- VariableResolverPlugin
public static final class VariableResolverPlugin.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableResolverPlugin
create()
VariableResolverPlugin.Builder
resolver(String resolverName)
Sets the type ofVariableResolver
to use by specifying a simple class name associated with the inner classes in that interface or a fully qualified class name.
-
-
-
Method Detail
-
resolver
public VariableResolverPlugin.Builder resolver(String resolverName)
Sets the type ofVariableResolver
to use by specifying a simple class name associated with the inner classes in that interface or a fully qualified class name. The assumption is that implementations will allow a constructor that takes aMap
which contains the bindings from the script engine context. Implementations are can then decide how to resolve variables in the script based on thatMap
or some other mechanism.
-
create
public VariableResolverPlugin create()
-
-