public interface Compiler
| Modifier and Type | Method and Description |
|---|---|
boolean |
canUpdateTarget(CompilerConfiguration configuration) |
List<CompilerError> |
compile(CompilerConfiguration configuration)
Deprecated.
|
String[] |
createCommandLine(CompilerConfiguration config)
Create the command line that would be executed using this configuration.
|
CompilerOutputStyle |
getCompilerOutputStyle() |
String |
getInputFileEnding(CompilerConfiguration configuration) |
String |
getOutputFile(CompilerConfiguration configuration) |
String |
getOutputFileEnding(CompilerConfiguration configuration) |
CompilerResult |
performCompile(CompilerConfiguration configuration)
Performs the compilation of the project.
|
static final String ROLE
CompilerOutputStyle getCompilerOutputStyle()
String getInputFileEnding(CompilerConfiguration configuration) throws CompilerException
CompilerExceptionString getOutputFileEnding(CompilerConfiguration configuration) throws CompilerException
CompilerExceptionString getOutputFile(CompilerConfiguration configuration) throws CompilerException
CompilerExceptionboolean canUpdateTarget(CompilerConfiguration configuration) throws CompilerException
CompilerExceptionCompilerResult performCompile(CompilerConfiguration configuration) throws CompilerException
configuration - the configuration description of the compilation
to performCompilerException@Deprecated List<CompilerError> compile(CompilerConfiguration configuration) throws CompilerException
performCompile(CompilerConfiguration) instead.configuration - the configuration description of the compilation
to performCompilerExceptionString[] createCommandLine(CompilerConfiguration config) throws CompilerException
config - the CompilerConfiguration describing the compilationCompilerException - if there was an error generating the command
lineCopyright © 2001–2018 Codehaus Plexus. All rights reserved.