void (@NotNull ExternalSystemTaskId id) { finishSyncEventSupplier.set(() -> { var eventTime = System.currentTimeMillis(); var eventMessage = BuildBundle.message("build.status.finished"); var eventResult = new SuccessResultImpl(); return new FinishBuildEventImpl(id, null, eventTime, eventMessage, eventResult); }); processHandler.notifyProcessTerminated(0); }