@Override public void debugEventHandler(long executionId) { PipelineExecution exec = pipelineHelper.runPipeline(getLightExecution(executionId).getPipeline(), true); if (exec != null) { refreshEventHandler(); view.setSelectedRow(exec.getId()); view.showExecutionDetail(exec, new ExecutionDetailData(getMessageDataSource())); } }
@Override public void showDebugEventHandler(long executionId) { PipelineExecution exec = getLightExecution(executionId); if (exec == null) { Notification.show( String.format("Execution with ID=%d doesn't exist!", executionId), Notification.Type.ERROR_MESSAGE); return; } view.showExecutionDetail(exec, new ExecutionDetailData(getMessageDataSource())); }