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
CompilationCustomizer to add to the GremlinGroovyScriptEngine . |
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()
CompilerCustomizerProvider
CompilationCustomizer
to add to the GremlinGroovyScriptEngine
.create
in interface CompilerCustomizerProvider
public Set<String> getImports()
getImports
in interface ImportCustomizerProvider
public Set<String> getStaticImports()
getStaticImports
in interface ImportCustomizerProvider
public Set<String> getExtraImports()
getExtraImports
in interface ImportCustomizerProvider
public Set<String> getExtraStaticImports()
getExtraStaticImports
in interface ImportCustomizerProvider
protected static void processStaticImports(ImportCustomizer ic, Set<String> staticImports)
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.