org.ow2.jonas.eclipse.compiler
Class JOnASCompilerRequestor
java.lang.Object
org.ow2.jonas.eclipse.compiler.JOnASCompilerRequestor
- All Implemented Interfaces:
- org.eclipse.jdt.internal.compiler.ICompilerRequestor
public class JOnASCompilerRequestor
- extends Object
- implements org.eclipse.jdt.internal.compiler.ICompilerRequestor
JOnAS glue for Eclipse Compiler.
- Author:
- Guillaume Sauthier
Method Summary |
void |
acceptResult(org.eclipse.jdt.internal.compiler.CompilationResult result)
Analyze the compilation process results and store the generated class files on the disk. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOnASCompilerRequestor
public JOnASCompilerRequestor(File outputDirectory,
List<CompilerError> errors)
- Creates a new
ICompilerRequestor
.
- Parameters:
outputDirectory
- Directory where generated files will be placed.errors
- Compilation process errors.
acceptResult
public void acceptResult(org.eclipse.jdt.internal.compiler.CompilationResult result)
- Analyze the compilation process results and store the generated class files on the disk.
This is called for each
ICompilationUnit
.
- Specified by:
acceptResult
in interface org.eclipse.jdt.internal.compiler.ICompilerRequestor
- See Also:
ICompilerRequestor.acceptResult(org.eclipse.jdt.internal.compiler.CompilationResult)
Copyright © 2010 OW2 Consortium. All Rights Reserved.