void (@NotNull ExternalSystemTaskNotificationEvent event) { if (consoleView != null) { consoleManager.onStatusChange(consoleView, event); } if (event instanceof ExternalSystemBuildEvent) { eventDispatcher.onEvent(event.getId(), ((ExternalSystemBuildEvent)event).getBuildEvent()); } else if (event instanceof ExternalSystemTaskExecutionEvent) { BuildEvent buildEvent = convert(((ExternalSystemTaskExecutionEvent)event)); eventDispatcher.onEvent(event.getId(), buildEvent); } }