1   package com.stateofflow.eclipse.metrics.builder;
2   
3   import org.eclipse.core.runtime.CoreException;
4   import org.eclipse.jdt.core.ICompilationUnit;
5   
6   import com.stateofflow.eclipse.metrics.calculators.CalculatorListener;
7   import com.stateofflow.eclipse.metrics.util.ProgressMonitor;
8   
9   public interface MetricProcessor extends CalculatorListener {
10      void preCompilationUnit(ICompilationUnit compilationUnit) throws CoreException;
11  
12      void afterMeasuringAllCompilationUnits(ProgressMonitor newChild) throws CoreException;
13  
14      boolean hasPostProcessingPhase();
15  }
16