Class DefaultImportCustomizer.Builder
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.jsr223.DefaultImportCustomizer.Builder
 
- 
- Enclosing class:
- DefaultImportCustomizer
 
 public static class DefaultImportCustomizer.Builder extends Object 
- 
- 
Method Summary
 
- 
- 
- 
Method Detail- 
addClassImportspublic DefaultImportCustomizer.Builder addClassImports(Class... clazz) Adds classes that will be imported to theScriptEngine.
 - 
addClassImportspublic DefaultImportCustomizer.Builder addClassImports(Collection<Class> classes) Overload toaddClassImports(Class[]).
 - 
addMethodImportspublic DefaultImportCustomizer.Builder addMethodImports(Method... method) Adds methods that are meant to be imported statically to the engine. When adding methods be sure that the classes of those methods are added to theaddClassImports(Class[])oraddClassImports(Collection). If they are not added then the certainScriptEngineinstances may have problems importing the methods (e.g. gremlin-python).
 - 
addMethodImportspublic DefaultImportCustomizer.Builder addMethodImports(Collection<Method> methods) Overload toaddMethodImports(Method...).
 - 
addFieldImportspublic DefaultImportCustomizer.Builder addFieldImports(Field... field) Adds fields that are meant to be imported statically to the engine. When adding fields be sure that the classes of those fields are added to theaddClassImports(Class[])oraddClassImports(Collection). If they are not added then the certainScriptEngineinstances may have problems importing the methods (e.g. gremlin-python).
 - 
addFieldImportspublic DefaultImportCustomizer.Builder addFieldImports(Collection<Field> fields) Overload toaddFieldImports(Field...).
 - 
addEnumImportspublic DefaultImportCustomizer.Builder addEnumImports(Enum... e) Adds methods that are meant to be imported statically to the engine. When adding methods be sure that the classes of those methods are added to theaddClassImports(Class[])oraddClassImports(Collection). If they are not added then the certainScriptEngineinstances may have problems importing the methods (e.g. gremlin-python).
 - 
addEnumImportspublic DefaultImportCustomizer.Builder addEnumImports(Collection<Enum> enums) Overload toaddEnumImports(Enum[]).
 - 
createpublic DefaultImportCustomizer create() 
 
- 
 
-