Class EclipseJavaCompiler

  • All Implemented Interfaces:
    Compiler, org.codehaus.plexus.logging.LogEnabled

    public class EclipseJavaCompiler
    extends AbstractCompiler
    • Constructor Detail

      • EclipseJavaCompiler

        public EclipseJavaCompiler()
    • Method Detail

      • createCommandLine

        public java.lang.String[] createCommandLine​(CompilerConfiguration config)
                                             throws CompilerException
        Description copied from interface: Compiler
        Create the command line that would be executed using this configuration. If this particular compiler has no concept of a command line then returns null.
        Parameters:
        config - the CompilerConfiguration describing the compilation
        Returns:
        an array of Strings that make up the command line, or null if this compiler has no concept of command line
        Throws:
        CompilerException - if there was an error generating the command line