org.codehaus.plexus.compiler
Interface Compiler
- All Known Implementing Classes:
- AbstractCompiler, AspectJCompiler, CSharpCompiler, EclipseJavaCompiler, JavacCompiler, JikesCompiler
public interface Compiler
- Version:
- $Id$
- Author:
- Jason van Zyl, Trygve Laugstøl, Matthew Pocock
Field Summary |
static java.lang.String |
ROLE
|
ROLE
static final java.lang.String ROLE
getCompilerOutputStyle
CompilerOutputStyle getCompilerOutputStyle()
getInputFileEnding
java.lang.String getInputFileEnding(CompilerConfiguration configuration)
throws CompilerException
- Throws:
CompilerException
getOutputFileEnding
java.lang.String getOutputFileEnding(CompilerConfiguration configuration)
throws CompilerException
- Throws:
CompilerException
getOutputFile
java.lang.String getOutputFile(CompilerConfiguration configuration)
throws CompilerException
- Throws:
CompilerException
canUpdateTarget
boolean canUpdateTarget(CompilerConfiguration configuration)
throws CompilerException
- Throws:
CompilerException
compile
java.util.List compile(CompilerConfiguration configuration)
throws CompilerException
- Throws:
CompilerException
createCommandLine
java.lang.String[] createCommandLine(CompilerConfiguration config)
throws CompilerException
- Create the command line that would be executed using this configuration.
If this particular compiler has no concept of a command line then returns
null.
- Parameters:
config
- the CompilerConfiguration describing the
compilation
- Returns:
- an array of Strings that make up the command line, or null if
this compiler has no concept of command line
- Throws:
CompilerException
- if there was an error generating the command
line
Copyright © 2001-2011 Codehaus. All Rights Reserved.