Package ch.grengine.load
Class DefaultTopCodeCacheFactory.Builder
java.lang.Object
ch.grengine.load.DefaultTopCodeCacheFactory.Builder
- Enclosing class:
- DefaultTopCodeCacheFactory
Builder for instances of
DefaultTopCodeCacheFactory.- Since:
- 1.0
- Author:
- Alain Stalder, Made in Switzerland.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds a new instance ofDefaultTopCodeCacheFactory.gets the compiler factory.setCompilerFactory(CompilerFactory compilerFactory) sets the compiler factory, default is a new instance ofDefaultGroovyCompilerFactorywith default settings.
-
Constructor Details
-
Builder
public Builder()constructor.- Since:
- 1.0
-
-
Method Details
-
setCompilerFactory
sets the compiler factory, default is a new instance ofDefaultGroovyCompilerFactorywith default settings.- Parameters:
compilerFactory- compiler factory- Returns:
- this, for chaining calls
- Since:
- 1.0
-
getCompilerFactory
gets the compiler factory.- Returns:
- compiler factory
- Since:
- 1.0
-
build
builds a new instance ofDefaultTopCodeCacheFactory.- Returns:
- new instance
- Since:
- 1.0
-