public interface Compiler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ROLE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canUpdateTarget(CompilerConfiguration configuration) |
java.util.List<CompilerError> |
compile(CompilerConfiguration configuration)
Deprecated.
|
java.lang.String[] |
createCommandLine(CompilerConfiguration config)
Create the command line that would be executed using this configuration.
|
CompilerOutputStyle |
getCompilerOutputStyle() |
java.lang.String |
getInputFileEnding(CompilerConfiguration configuration) |
java.lang.String |
getOutputFile(CompilerConfiguration configuration) |
java.lang.String |
getOutputFileEnding(CompilerConfiguration configuration) |
CompilerResult |
performCompile(CompilerConfiguration configuration)
Performs the compilation of the project.
|
CompilerOutputStyle getCompilerOutputStyle()
java.lang.String getInputFileEnding(CompilerConfiguration configuration) throws CompilerException
CompilerExceptionjava.lang.String getOutputFileEnding(CompilerConfiguration configuration) throws CompilerException
CompilerExceptionjava.lang.String 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 java.util.List<CompilerError> compile(CompilerConfiguration configuration) throws CompilerException
performCompile(CompilerConfiguration) instead.configuration - the configuration description of the compilation
to performCompilerExceptionjava.lang.String[] createCommandLine(CompilerConfiguration config) throws CompilerException
config - the CompilerConfiguration describing the compilationCompilerException - if there was an error generating the command
line