FileDocCategorySizeDatePackage
CompilerAdapter.javaAPI DocApache Ant 1.701806Wed Dec 13 06:16:24 GMT 2006org.apache.tools.ant.taskdefs.compilers

CompilerAdapter

public interface CompilerAdapter
The interface that all compiler adapters must adhere to.

A compiler adapter is an adapter that interprets the javac's parameters in preparation to be passed off to the compiler this adapter represents. As all the necessary values are stored in the Javac task itself, the only thing all adapters need is the javac task, the execute command and a parameterless constructor (for reflection).

since
Ant 1.3

Fields Summary
Constructors Summary
Methods Summary
public booleanexecute()
Executes the task.

return
has the compilation been successful
throws
BuildException on error

public voidsetJavac(org.apache.tools.ant.taskdefs.Javac attributes)
Sets the compiler attributes, which are stored in the Javac task.

param
attributes the compiler attributes