Interface Compiler

  • All Known Implementing Classes:
    AntJavaCompiler, SunJavaCompiler

    public interface Compiler
    A Compilation interface used by the Castor Testing Framework.
    • Method Detail

      • setJavaSourceVersion

        void setJavaSourceVersion​(float javaSourceVersion)
        Configures the compiler to provide the -source argument for compilation. The Java source version is a float that is expected to be a value such as 1.3, 1.4, or1.5. However, integral values higher than 4 will be converted to the proper value so for example you can provide 5 as the Java source version.
        Parameters:
        javaSourceVersion - The Java source version.