2012-01-09 14:00:35 +01:00
|
|
|
package xsbti.compile;
|
|
|
|
|
|
|
|
|
|
import java.io.File;
|
|
|
|
|
import xsbti.Logger;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Interface to a Java compiler.
|
|
|
|
|
*/
|
|
|
|
|
public interface JavaCompiler
|
|
|
|
|
{
|
|
|
|
|
/** Compiles Java sources using the provided classpath, output directory, and additional options.
|
|
|
|
|
* If supported, the number of reported errors should be limited to `maximumErrors`.
|
|
|
|
|
* Output should be sent to the provided logger.*/
|
2012-07-10 19:12:39 +02:00
|
|
|
void compile(File[] sources, File[] classpath, Output output, String[] options, int maximumErrors, Logger log);
|
2012-01-09 14:00:35 +01:00
|
|
|
}
|