gen.writeStringField("name", graph.getJobName()); final ArchivedExecutionConfig summary = graph.getArchivedExecutionConfig();
private static JobConfigInfo createJobConfigInfo(AccessExecutionGraph executionGraph) { final ArchivedExecutionConfig executionConfig = executionGraph.getArchivedExecutionConfig(); final JobConfigInfo.ExecutionConfigInfo executionConfigInfo; if (executionConfig != null) { executionConfigInfo = new JobConfigInfo.ExecutionConfigInfo( executionConfig.getExecutionMode(), executionConfig.getRestartStrategyDescription(), executionConfig.getParallelism(), executionConfig.getObjectReuseEnabled(), executionConfig.getGlobalJobParameters()); } else { executionConfigInfo = null; } return new JobConfigInfo(executionGraph.getJobID(), executionGraph.getJobName(), executionConfigInfo); } }
gen.writeStringField(JobConfigInfo.FIELD_NAME_JOB_NAME, graph.getJobName()); final ArchivedExecutionConfig summary = graph.getArchivedExecutionConfig();
private static JobConfigInfo createJobConfigInfo(AccessExecutionGraph executionGraph) { final ArchivedExecutionConfig executionConfig = executionGraph.getArchivedExecutionConfig(); final JobConfigInfo.ExecutionConfigInfo executionConfigInfo; if (executionConfig != null) { executionConfigInfo = new JobConfigInfo.ExecutionConfigInfo( executionConfig.getExecutionMode(), executionConfig.getRestartStrategyDescription(), executionConfig.getParallelism(), executionConfig.getObjectReuseEnabled(), executionConfig.getGlobalJobParameters()); } else { executionConfigInfo = null; } return new JobConfigInfo(executionGraph.getJobID(), executionGraph.getJobName(), executionConfigInfo); } }
private static JobConfigInfo createJobConfigInfo(AccessExecutionGraph executionGraph) { final ArchivedExecutionConfig executionConfig = executionGraph.getArchivedExecutionConfig(); final JobConfigInfo.ExecutionConfigInfo executionConfigInfo; if (executionConfig != null) { executionConfigInfo = new JobConfigInfo.ExecutionConfigInfo( executionConfig.getExecutionMode(), executionConfig.getRestartStrategyDescription(), executionConfig.getParallelism(), executionConfig.getObjectReuseEnabled(), executionConfig.getGlobalJobParameters()); } else { executionConfigInfo = null; } return new JobConfigInfo(executionGraph.getJobID(), executionGraph.getJobName(), executionConfigInfo); } }