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