@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) |
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/control/CompilationUnit.ProgressCallback.html