Package org.codehaus.groovy.control
Interface CompilationUnit.ProgressCallback
- 
- Enclosing class:
 - CompilationUnit
 
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
@FunctionalInterface public static 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. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcall(ProcessingUnit context, int phase) 
 - 
 
- 
- 
Method Detail
- 
call
void call(ProcessingUnit context, int phase) throws CompilationFailedException
- Throws:
 CompilationFailedException
 
 - 
 
 -