@Test public void testParseToJobInstanceQuietlyUsingNullCubingJob() { ConcurrentHashMap<String, Output> concurrentHashMap = new ConcurrentHashMap<>(); JobInstance jobInstance = JobInfoConverter.parseToJobInstanceQuietly((CubingJob) null, concurrentHashMap); assertNull(jobInstance); }
public static JobInstance parseToJobInstanceQuietly(CubingJob job, Map<String, Output> outputs) { try { return parseToJobInstance(job, outputs); } catch (Exception e) { logger.error("Failed to parse job instance: uuid={}", job, e); return null; } }
JobInfoConverter { public static JobInstance parseToJobInstanceQuietly(CubingJob job, Map<String, Output> outputs) { try { return parseToJobInstance(job, outputs); } catch (Exception e) { logger.error("Failed to parse job instance: uuid={}", job, e); return null; } } }
JobInfoConverter { public static JobInstance parseToJobInstanceQuietly(CubingJob job, Map<String, Output> outputs) { try { return parseToJobInstance(job, outputs); } catch (Exception e) { logger.error("Failed to parse job instance: uuid={}", job, e); return null; } }  }
JobInfoConverter { public static JobInstance parseToJobInstanceQuietly(CubingJob job, Map<String, Output> outputs) { try { return parseToJobInstance(job, outputs); } catch (Exception e) { logger.error("Failed to parse job instance: uuid={}", job, e); return null; } }  static JobInstance parseToJobInstanceQuietly(CubingJob job, Map<String, Output> outputs); static JobInstance parseToJobInstanceQuietly(CheckpointExecutable job, Map<String, Output> outputs); static JobInstance parseToJobInstance(CubingJob job, Map<String, Output> outputs); static JobInstance parseToJobInstance(CheckpointExecutable job, Map<String, Output> outputs); static JobInstance.JobStep parseToJobStep(AbstractExecutable task, int i, Output stepOutput); static JobStatusEnum parseToJobStatus(ExecutableState state); static JobStepStatusEnum parseToJobStepStatus(ExecutableState state); static JobSearchResult parseToJobSearchResult(DefaultChainedExecutable job, Map<String, ExecutableOutputPO> outputs); }
JobInfoConverter { public static JobInstance parseToJobInstanceQuietly(CubingJob job, Map<String, Output> outputs) { try { return parseToJobInstance(job, outputs); } catch (Exception e) { logger.error("Failed to parse job instance: uuid={}", job, e); return null; } }  static JobInstance parseToJobInstanceQuietly(CubingJob job, Map<String, Output> outputs); static JobInstance parseToJobInstanceQuietly(CheckpointExecutable job, Map<String, Output> outputs); static JobInstance parseToJobInstance(CubingJob job, Map<String, Output> outputs); static JobInstance parseToJobInstance(CheckpointExecutable job, Map<String, Output> outputs); static JobInstance.JobStep parseToJobStep(AbstractExecutable task, int i, Output stepOutput); static JobStatusEnum parseToJobStatus(ExecutableState state); static JobStepStatusEnum parseToJobStepStatus(ExecutableState state); static JobSearchResult parseToJobSearchResult(DefaultChainedExecutable job, Map<String, ExecutableOutputPO> outputs);  }