public static class DefaultImportCustomizer.Builder extends Object
public DefaultImportCustomizer.Builder addClassImports(Class... clazz)
ScriptEngine
.public DefaultImportCustomizer.Builder addClassImports(Collection<Class> classes)
addClassImports(Class[])
.public DefaultImportCustomizer.Builder addMethodImports(Method... method)
addClassImports(Class[])
or
addClassImports(Collection)
. If they are not added then the certain ScriptEngine
instances
may have problems importing the methods (e.g. gremlin-python).public DefaultImportCustomizer.Builder addMethodImports(Collection<Method> methods)
addMethodImports(Method...)
.public DefaultImportCustomizer.Builder addFieldImports(Field... field)
addClassImports(Class[])
or
addClassImports(Collection)
. If they are not added then the certain ScriptEngine
instances
may have problems importing the methods (e.g. gremlin-python).public DefaultImportCustomizer.Builder addFieldImports(Collection<Field> fields)
addFieldImports(Field...)
.public DefaultImportCustomizer.Builder addEnumImports(Enum... e)
addClassImports(Class[])
or
addClassImports(Collection)
. If they are not added then the certain ScriptEngine
instances
may have problems importing the methods (e.g. gremlin-python).public DefaultImportCustomizer.Builder addEnumImports(Collection<Enum> enums)
addEnumImports(Enum[])
.public DefaultImportCustomizer create()
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.