public interface RmicAdapter
A rmic adapter is an adapter that interprets the rmic's parameters in preparation to be passed off to the compiler this adapter represents. As all the necessary values are stored in the Rmic task itself, the only thing all adapters need is the rmic task, the execute command and a parameterless constructor (for reflection).
Modifier and Type | Method and Description |
---|---|
boolean |
execute()
Call the rmic compiler.
|
Path |
getClasspath()
The CLASSPATH this rmic process will use.
|
FileNameMapper |
getMapper()
Maps source class files to the files generated by this rmic
implementation.
|
void |
setRmic(Rmic attributes)
Sets the rmic attributes, which are stored in the Rmic task.
|
void setRmic(Rmic attributes)
attributes
- the rmic attributes to useboolean execute() throws BuildException
BuildException
- on errorFileNameMapper getMapper()
Path getClasspath()