ImportCustomizer@Deprecated public class EmptyImportCustomizerProvider extends DefaultImportCustomizerProvider
ImportCustomizerProvider is empty and comes with no pre-defined imports at all.DOT_STAR, EMPTY_STRING, extraImports, extraStaticImports, PERIOD| Constructor and Description | 
|---|
| EmptyImportCustomizerProvider(ImportCustomizerProvider baseCustomizer,
                             Set<String> extraImports,
                             Set<String> extraStaticImports)Deprecated.  Utilizes imports defined by the supplied arguments. | 
| EmptyImportCustomizerProvider(Set<String> extraImports,
                             Set<String> extraStaticImports)Deprecated.  Utilizes imports defined by the supplied arguments. | 
| Modifier and Type | Method and Description | 
|---|---|
| CompilationCustomizer | create()Deprecated.  Create a new instance of a  CompilationCustomizerto add to theGremlinGroovyScriptEngine. | 
| Set<String> | getAllImports()Deprecated.  | 
| Set<String> | getImports()Deprecated.  | 
| Set<String> | getStaticImports()Deprecated.  | 
initializeStaticallygetExtraImports, getExtraStaticImports, processImports, processStaticImportspublic EmptyImportCustomizerProvider(Set<String> extraImports, Set<String> extraStaticImports)
public EmptyImportCustomizerProvider(ImportCustomizerProvider baseCustomizer, Set<String> extraImports, Set<String> extraStaticImports)
baseCustomizer - Imports from this customizer get added to the new one.public CompilationCustomizer create()
CompilerCustomizerProviderCompilationCustomizer to add to the GremlinGroovyScriptEngine.create in interface CompilerCustomizerProvidercreate in class AbstractImportCustomizerProviderpublic Set<String> getImports()
getImports in interface ImportCustomizerProvidergetImports in class AbstractImportCustomizerProviderpublic Set<String> getStaticImports()
getStaticImports in interface ImportCustomizerProvidergetStaticImports in class AbstractImportCustomizerProviderpublic Set<String> getAllImports()
getAllImports in class AbstractImportCustomizerProviderCopyright © 2013–2018 Apache Software Foundation. All rights reserved.