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)
Utilizes imports defined by the supplied arguments.
|
EmptyImportCustomizerProvider(Set<String> extraImports,
Set<String> extraStaticImports)
Utilizes imports defined by the supplied arguments.
|
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> |
getImports() |
Set<String> |
getStaticImports() |
initializeStatically
getExtraImports, getExtraStaticImports, processImports, processStaticImports
public 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()
CompilerCustomizerProvider
CompilationCustomizer
to add to the GremlinGroovyScriptEngine
.create
in interface CompilerCustomizerProvider
create
in class AbstractImportCustomizerProvider
public Set<String> getImports()
getImports
in interface ImportCustomizerProvider
getImports
in class AbstractImportCustomizerProvider
public Set<String> getStaticImports()
getStaticImports
in interface ImportCustomizerProvider
getStaticImports
in class AbstractImportCustomizerProvider
public Set<String> getAllImports()
getAllImports
in class AbstractImportCustomizerProvider
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.