Interface GeneratedSourceCompiler

All Known Implementing Classes:
GeneratedSourceCompilerImpl

public interface GeneratedSourceCompiler
Author:
etienne-sf
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Compile all sources stored in the root source folder for the instance.
    boolean
    This stores the given source code into the java file, then compiles it.
    boolean
    Compiles the java file.
  • Method Details

    • compileAllSources

      boolean compileAllSources()
      Compile all sources stored in the root source folder for the instance.
      Returns:
      true if the compilation was Ok (without errors)
      Throws:
      MojoExecutionException
    • compileOneSource

      boolean compileOneSource()
      Compiles the java file.
      Parameters:
      javaSource -
      Returns:
      true if the compilation was Ok (without errors)
      Throws:
      MojoExecutionException
    • compileGivenSource

      boolean compileGivenSource(String javaSource)
      This stores the given source code into the java file, then compiles it. The source file comes from the instance parameters.
      Parameters:
      javaSource -
      Returns:
      true if the compilation was Ok (without errors)
      Throws:
      MojoExecutionException