Package org.apache.camel.language.joor
Class MultiCompile
java.lang.Object
org.apache.camel.language.joor.MultiCompile
Until jOOR supports multi-file compilation, then we have the compiler at Apache Camel. See:
https://github.com/jOOQ/jOOR/pull/119
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompilationUnit.Result
compileUnit
(CompilationUnit unit) Compiles multiple files as one unitstatic CompilationUnit.Result
compileUnit
(CompilationUnit unit, List<String> options) Compiles multiple files as one unit
-
Method Details
-
compileUnit
Compiles multiple files as one unit- Parameters:
unit
- the files to compile in the same unit- Returns:
- the compilation result
-
compileUnit
Compiles multiple files as one unit- Parameters:
unit
- the files to compile in the same unitoptions
- the compilation options to use- Returns:
- the compilation result
-