Class DefaultImportCustomizer
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.jsr223.DefaultImportCustomizer
 
- 
- All Implemented Interfaces:
- Customizer,- ImportCustomizer
 
 public class DefaultImportCustomizer extends Object implements ImportCustomizer Simple implementation of theImportCustomizerwhich allows direct setting of all the different import types.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDefaultImportCustomizer.Builder
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultImportCustomizer.Builderbuild()Set<Class>getClassImports()Gets the set of classes to be imported to theGremlinScriptEngine.Set<Enum>getEnumImports()Gets the set of enums to be imported to theGremlinScriptEngine.Set<Field>getFieldImports()Gets the set of fields to be imported to theGremlinScriptEngine.Set<Method>getMethodImports()Gets the set of static methods to be imported to theGremlinScriptEngine.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.jsr223.ImportCustomizergetClassPackages, getEnumClasses, getFieldClasses, getMethodClasses
 
- 
 
- 
- 
- 
Method Detail- 
getClassImportspublic Set<Class> getClassImports() Description copied from interface:ImportCustomizerGets the set of classes to be imported to theGremlinScriptEngine.- Specified by:
- getClassImportsin interface- ImportCustomizer
 
 - 
getMethodImportspublic Set<Method> getMethodImports() Description copied from interface:ImportCustomizerGets the set of static methods to be imported to theGremlinScriptEngine.- Specified by:
- getMethodImportsin interface- ImportCustomizer
 
 - 
getEnumImportspublic Set<Enum> getEnumImports() Description copied from interface:ImportCustomizerGets the set of enums to be imported to theGremlinScriptEngine.- Specified by:
- getEnumImportsin interface- ImportCustomizer
 
 - 
getFieldImportspublic Set<Field> getFieldImports() Description copied from interface:ImportCustomizerGets the set of fields to be imported to theGremlinScriptEngine.- Specified by:
- getFieldImportsin interface- ImportCustomizer
 
 - 
buildpublic static DefaultImportCustomizer.Builder build() 
 
- 
 
-