public abstract class AbstractCompiler extends org.codehaus.plexus.logging.AbstractLogEnabled implements Compiler
Modifier and Type | Field and Description |
---|---|
protected static String |
EOL |
protected static String |
PS |
Modifier | Constructor and Description |
---|---|
protected |
AbstractCompiler(CompilerOutputStyle compilerOutputStyle,
String inputFileEnding,
String outputFileEnding,
String outputFile) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createCommandLine
protected AbstractCompiler(CompilerOutputStyle compilerOutputStyle, String inputFileEnding, String outputFileEnding, String outputFile)
public CompilerResult performCompile(CompilerConfiguration configuration) throws CompilerException
Compiler
performCompile
in interface Compiler
configuration
- the configuration description of the compilation
to performCompilerException
@Deprecated public List<CompilerError> compile(CompilerConfiguration configuration) throws CompilerException
Compiler
Compiler.performCompile(CompilerConfiguration)
instead.compile
in interface Compiler
configuration
- the configuration description of the compilation
to performCompilerException
public CompilerOutputStyle getCompilerOutputStyle()
getCompilerOutputStyle
in interface Compiler
public String getInputFileEnding(CompilerConfiguration configuration) throws CompilerException
getInputFileEnding
in interface Compiler
CompilerException
public String getOutputFileEnding(CompilerConfiguration configuration) throws CompilerException
getOutputFileEnding
in interface Compiler
CompilerException
public String getOutputFile(CompilerConfiguration configuration) throws CompilerException
getOutputFile
in interface Compiler
CompilerException
public boolean canUpdateTarget(CompilerConfiguration configuration) throws CompilerException
canUpdateTarget
in interface Compiler
CompilerException
protected static Set<String> getSourceFilesForSourceRoot(CompilerConfiguration config, String sourceLocation)
protected static String[] getSourceFiles(CompilerConfiguration config)
protected static String makeClassName(String fileName, String sourceDir) throws CompilerException
CompilerException
Copyright © 2001–2020 Codehaus Plexus. All rights reserved.