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
CompilationCustomizer to add to the GremlinGroovyScriptEngine . |
Set<String> |
getAllImports()
Deprecated.
|
Set<String> |
getImports()
Deprecated.
|
Set<String> |
getStaticImports()
Deprecated.
|
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–2018 Apache Software Foundation. All rights reserved.