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
CompilerException
String getOutputFileEnding(CompilerConfiguration configuration) throws CompilerException
CompilerException
String getOutputFile(CompilerConfiguration configuration) throws CompilerException
CompilerException
boolean canUpdateTarget(CompilerConfiguration configuration) throws CompilerException
CompilerException
CompilerResult 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 performCompilerException
String[] createCommandLine(CompilerConfiguration config) throws CompilerException
config
- the CompilerConfiguration describing the compilationCompilerException
- if there was an error generating the command
lineCopyright © 2015. All rights reserved.