Class CompilerStub

  • All Implemented Interfaces:
    org.codehaus.plexus.compiler.Compiler

    public class CompilerStub
    extends Object
    implements org.codehaus.plexus.compiler.Compiler
    Author:
    Edwin Punzalan
    • Constructor Detail

      • CompilerStub

        public CompilerStub()
      • CompilerStub

        public CompilerStub​(boolean shouldFail)
    • Method Detail

      • getCompilerOutputStyle

        public org.codehaus.plexus.compiler.CompilerOutputStyle getCompilerOutputStyle()
        Specified by:
        getCompilerOutputStyle in interface org.codehaus.plexus.compiler.Compiler
      • getInputFileEnding

        public String getInputFileEnding​(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
        Specified by:
        getInputFileEnding in interface org.codehaus.plexus.compiler.Compiler
      • getOutputFileEnding

        public String getOutputFileEnding​(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
        Specified by:
        getOutputFileEnding in interface org.codehaus.plexus.compiler.Compiler
      • getOutputFile

        public String getOutputFile​(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
        Specified by:
        getOutputFile in interface org.codehaus.plexus.compiler.Compiler
      • canUpdateTarget

        public boolean canUpdateTarget​(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
        Specified by:
        canUpdateTarget in interface org.codehaus.plexus.compiler.Compiler
      • compile

        public List<org.codehaus.plexus.compiler.CompilerError> compile​(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
                                                                 throws org.codehaus.plexus.compiler.CompilerException
        Specified by:
        compile in interface org.codehaus.plexus.compiler.Compiler
        Throws:
        org.codehaus.plexus.compiler.CompilerException
      • performCompile

        public org.codehaus.plexus.compiler.CompilerResult performCompile​(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
                                                                   throws org.codehaus.plexus.compiler.CompilerException
        Specified by:
        performCompile in interface org.codehaus.plexus.compiler.Compiler
        Throws:
        org.codehaus.plexus.compiler.CompilerException
      • createCommandLine

        public String[] createCommandLine​(org.codehaus.plexus.compiler.CompilerConfiguration compilerConfiguration)
        Specified by:
        createCommandLine in interface org.codehaus.plexus.compiler.Compiler