Compiler
, org.codehaus.plexus.logging.LogEnabled
public class CSharpCompiler extends AbstractCompiler
EOL, PS
Constructor | Description |
---|---|
CSharpCompiler() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
canUpdateTarget(CompilerConfiguration configuration) |
|
java.lang.String[] |
createCommandLine(CompilerConfiguration config) |
Create the command line that would be executed using this configuration.
|
java.lang.String |
getOutputFile(CompilerConfiguration configuration) |
|
protected static java.lang.String[] |
getSourceFiles(CompilerConfiguration config) |
|
protected static java.util.Set<java.lang.String> |
getSourceFilesForSourceRoot(CompilerConfiguration config,
java.lang.String sourceLocation) |
|
static java.util.List<CompilerMessage> |
parseCompilerOutput(java.io.BufferedReader bufferedReader) |
|
static CompilerMessage |
parseLine(java.lang.String line) |
Deprecated.
|
CompilerResult |
performCompile(CompilerConfiguration config) |
Performs the compilation of the project.
|
compile, getCompilerOutputStyle, getInputFileEnding, getOutputFileEnding, getPathString, makeClassName, toStringArray
public boolean canUpdateTarget(CompilerConfiguration configuration) throws CompilerException
canUpdateTarget
in interface Compiler
canUpdateTarget
in class AbstractCompiler
CompilerException
public java.lang.String getOutputFile(CompilerConfiguration configuration) throws CompilerException
getOutputFile
in interface Compiler
getOutputFile
in class AbstractCompiler
CompilerException
public CompilerResult performCompile(CompilerConfiguration config) throws CompilerException
Compiler
performCompile
in interface Compiler
performCompile
in class AbstractCompiler
config
- the configuration description of the compilation
to performCompilerException
public java.lang.String[] createCommandLine(CompilerConfiguration config) throws CompilerException
Compiler
config
- the CompilerConfiguration describing the compilationCompilerException
- if there was an error generating the command
linepublic static java.util.List<CompilerMessage> parseCompilerOutput(java.io.BufferedReader bufferedReader) throws java.io.IOException
java.io.IOException
protected static java.lang.String[] getSourceFiles(CompilerConfiguration config)
public static CompilerMessage parseLine(java.lang.String line)
protected static java.util.Set<java.lang.String> getSourceFilesForSourceRoot(CompilerConfiguration config, java.lang.String sourceLocation)
Copyright © 2018. All rights reserved.