sbt/interface/src/main/java/xsbti/compile/JavaCompiler.java

16 lines
489 B
Java
Raw Normal View History

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.*/
void compile(File[] sources, File[] classpath, Output output, String[] options, int maximumErrors, Logger log);
}