@FunctionalInterface
public interface CompilationUnit.ProgressCallback
A callback interface you can use to get a callback after every unit of the compile process. You will be called-back with a ProcessingUnit and a phase indicator. Use setProgressCallback() before running compile() to set your callback.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
call(ProcessingUnit context, int phase)Called after a compilation phase finishes for a processing unit. |
Called after a compilation phase finishes for a processing unit.
context - the processing unit that advancedphase - the phase that just completed