Class ChainCompiler<I,O>
java.lang.Object
ca.mcscert.jpipe.compiler.model.ChainCompiler<I,O>
- Type Parameters:
I- type provided by the source.O- type consumed by the sink.
- All Implemented Interfaces:
Compiler
A fully assembled compilation pipeline:
Source →
Transformation chain → Sink. Produced by
ChainBuilder.andThen(Sink).-
Method Summary
-
Method Details
-
compile
Description copied from interface:CompilerTrigger the compilation process.- Specified by:
compilein interfaceCompiler- Parameters:
sourceFile- input file path.sinkFile- output file path.- Returns:
trueif at least oneERRORorFATALdiagnostic was reported;falseif compilation was clean.- Throws:
IOException- if an I/O error occurs.
-