public abstract class AbstractImportCustomizerProvider extends Object implements ImportCustomizerProvider
| Modifier and Type | Field and Description | 
|---|---|
| protected static String | DOT_STAR | 
| protected static String | EMPTY_STRING | 
| protected Set<String> | extraImports | 
| protected Set<String> | extraStaticImports | 
| protected static String | PERIOD | 
| Constructor and Description | 
|---|
| AbstractImportCustomizerProvider() | 
| Modifier and Type | Method and Description | 
|---|---|
| CompilationCustomizer | create()Create a new instance of a  CompilationCustomizerto add to theGremlinGroovyScriptEngine. | 
| Set<String> | getAllImports() | 
| Set<String> | getExtraImports() | 
| Set<String> | getExtraStaticImports() | 
| Set<String> | getImports() | 
| Set<String> | getStaticImports() | 
| protected static void | processImports(ImportCustomizer ic,
              Set<String> imports) | 
| protected static void | processStaticImports(ImportCustomizer ic,
                    Set<String> staticImports) | 
protected static final String DOT_STAR
protected static final String EMPTY_STRING
protected static final String PERIOD
public CompilationCustomizer create()
CompilerCustomizerProviderCompilationCustomizer to add to the GremlinGroovyScriptEngine.create in interface CompilerCustomizerProviderpublic Set<String> getImports()
getImports in interface ImportCustomizerProviderpublic Set<String> getStaticImports()
getStaticImports in interface ImportCustomizerProviderpublic Set<String> getExtraImports()
getExtraImports in interface ImportCustomizerProviderpublic Set<String> getExtraStaticImports()
getExtraStaticImports in interface ImportCustomizerProviderprotected static void processStaticImports(ImportCustomizer ic,
                                           Set<String> staticImports)
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.