void (Object sessionId, ExitStatus exitStatus, long endBuildStamp) { String message; if (exitStatus == ExitStatus.ERRORS) { message = BuildBundle.message("build.messages.failed", wordsToBeginFromLowerCase(myContentName)); myBuildProgress.fail(endBuildStamp, message); } else if (exitStatus == ExitStatus.CANCELLED) { message = BuildBundle.message("build.messages.cancelled", wordsToBeginFromLowerCase(myContentName)); myBuildProgress.cancel(endBuildStamp, message); } else { boolean isUpToDate = exitStatus == ExitStatus.UP_TO_DATE; if (JavaCompilerBundle.message("classes.up.to.date.check").equals(myContentName)) { if (isUpToDate) { myConsolePrinter.print(JavaCompilerBundle.message("compiler.build.messages.classes.check.uptodate"), MessageEvent.Kind.SIMPLE); } else { myConsolePrinter.print(JavaCompilerBundle.message("compiler.build.messages.classes.check.outdated"), MessageEvent.Kind.SIMPLE); } } message = BuildBundle.message("build.messages.finished", wordsToBeginFromLowerCase(myContentName)); myBuildProgress.finish(endBuildStamp, isUpToDate, message); } }