Interface CompilationResult


  • public interface CompilationResult
    The result of a Jooc compilation run.
    • Field Detail

      • RESULT_CODE_COMPILATION_FAILED

        static final int RESULT_CODE_COMPILATION_FAILED
        See Also:
        Constant Field Values
      • RESULT_CODE_INTERNAL_COMPILER_ERROR

        static final int RESULT_CODE_INTERNAL_COMPILER_ERROR
        See Also:
        Constant Field Values
      • RESULT_CODE_UNRECOGNIZED_OPTION

        static final int RESULT_CODE_UNRECOGNIZED_OPTION
        See Also:
        Constant Field Values
      • RESULT_CODE_MISSING_OPTION_ARGUMENT

        static final int RESULT_CODE_MISSING_OPTION_ARGUMENT
        See Also:
        Constant Field Values
      • RESULT_CODE_ILLEGAL_OPTION_VALUE

        static final int RESULT_CODE_ILLEGAL_OPTION_VALUE
        See Also:
        Constant Field Values
    • Method Detail

      • getResultCode

        int getResultCode()
        Return the result code of the last compilation run. This is one of the RESULT_... constants defined in this class.
        Returns:
        the compilation result code
      • getOutputFileMap

        Map<File,​File> getOutputFileMap()
        Return a map from source (input) files to successfully generated output files.
        Returns:
        the output file map