public class DefaultImportCustomizer extends Object implements ImportCustomizer
ImportCustomizer
which allows direct setting of all the different import types.Modifier and Type | Class and Description |
---|---|
static class |
DefaultImportCustomizer.Builder |
Modifier and Type | Method and Description |
---|---|
static DefaultImportCustomizer.Builder |
build() |
Set<Class> |
getClassImports()
Gets the set of classes to be imported to the
GremlinScriptEngine . |
Set<Enum> |
getEnumImports()
Gets the set of enums to be imported to the
GremlinScriptEngine . |
Set<Field> |
getFieldImports()
Gets the set of fields to be imported to the
GremlinScriptEngine . |
Set<Method> |
getMethodImports()
Gets the set of static methods to be imported to the
GremlinScriptEngine . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassPackages, getEnumClasses, getFieldClasses, getMethodClasses
public Set<Class> getClassImports()
ImportCustomizer
GremlinScriptEngine
.getClassImports
in interface ImportCustomizer
public Set<Method> getMethodImports()
ImportCustomizer
GremlinScriptEngine
.getMethodImports
in interface ImportCustomizer
public Set<Enum> getEnumImports()
ImportCustomizer
GremlinScriptEngine
.getEnumImports
in interface ImportCustomizer
public Set<Field> getFieldImports()
ImportCustomizer
GremlinScriptEngine
.getFieldImports
in interface ImportCustomizer
public static DefaultImportCustomizer.Builder build()
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.