public interface Compiler
Modifier and Type | Method and Description |
---|---|
boolean |
canUpdateTarget(CompilerConfiguration configuration) |
List<CompilerError> |
compile(CompilerConfiguration configuration) |
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) |
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
List<CompilerError> compile(CompilerConfiguration configuration) throws CompilerException
CompilerException
String[] createCommandLine(CompilerConfiguration config) throws CompilerException
config
- the CompilerConfiguration describing the
compilationCompilerException
- if there was an error generating the command
lineCopyright © 2013. All rights reserved.