Class BuildLogCompileErrorCollector


  • public final class BuildLogCompileErrorCollector
    extends Object
    Collects all error messages (not blocks) belonging to the specified compile block. Error messages from nested compile blocks are skipped.
    • Method Detail

      • collectCompileErrors

        public static void collectCompileErrors​(@NotNull
                                                Integer compileBlockIndex,
                                                @NotNull
                                                SBuild build,
                                                @NotNull
                                                ItemProcessor<LogMessage> compileErrorsProcessor)
        Parameters:
        compileErrorsProcessor - compilation errors processor, once it returns false, the process of loading compilation errors will stop