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 VariableResolverPlugincreate()VariableResolverPlugin.Builderresolver(String resolverName)Sets the type ofVariableResolverto 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 ofVariableResolverto 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 aMapwhich contains the bindings from the script engine context. Implementations are can then decide how to resolve variables in the script based on thatMapor some other mechanism.
-
create
public VariableResolverPlugin create()
-
-