public interface CompilerAdapter
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).
Modifier and Type | Method and Description |
---|---|
boolean |
execute()
Executes the task.
|
void |
setJavac(Javac attributes)
Sets the compiler attributes, which are stored in the Javac task.
|
boolean execute() throws BuildException
BuildException
- on errorvoid setJavac(Javac attributes)
attributes
- the compiler attributes