public static class DefaultTopCodeCacheFactory.Builder extends Object
DefaultTopCodeCacheFactory
.Constructor and Description |
---|
Builder()
constructor.
|
Modifier and Type | Method and Description |
---|---|
DefaultTopCodeCacheFactory |
build()
builds a new instance of
DefaultTopCodeCacheFactory . |
CompilerFactory |
getCompilerFactory()
gets the compiler factory.
|
DefaultTopCodeCacheFactory.Builder |
setCompilerFactory(CompilerFactory compilerFactory)
sets the compiler factory,
default is a new instance of
DefaultGroovyCompilerFactory with default settings. |
public DefaultTopCodeCacheFactory.Builder setCompilerFactory(CompilerFactory compilerFactory)
DefaultGroovyCompilerFactory
with default settings.compilerFactory
- compiler factorypublic CompilerFactory getCompilerFactory()
public DefaultTopCodeCacheFactory build()
DefaultTopCodeCacheFactory
.