Package org.codehaus.groovy.control
Class CompilationUnit.ProgressCallback
- java.lang.Object
-
- org.codehaus.groovy.control.CompilationUnit.ProgressCallback
-
- Enclosing class:
- CompilationUnit
public abstract static class CompilationUnit.ProgressCallback extends Object
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.
-
-
Constructor Summary
Constructors Constructor Description ProgressCallback()
-
-
-
Method Detail
-
call
public abstract void call(ProcessingUnit context, int phase) throws CompilationFailedException
- Throws:
CompilationFailedException
-
-