@Test public void testExecuteWithNullException() throws Exception { JobExecutionContext context = mock(JobExecutionContext.class); jobInstance.execute(context); assertTrue(true); }
@Override @Transactional public void execute(JobExecutionContext context) { try { initParam(context); setSourcesPartitionsAndPredicates(measure.getDataSources()); createJobInstance(job.getConfigMap()); } catch (Exception e) { LOGGER.error("Create predicate job failure.", e); } }
JobInstance implements Job { @Override @Transactional public void execute(JobExecutionContext context) { try { initParam(context); setSourcesPartitionsAndPredicates(measure.getDataSources()); createJobInstance(job.getConfigMap()); } catch (Exception e) { LOGGER.error("Create predicate job failure.", e); } } }
JobInstance implements Job { @Override @Transactional public void execute(JobExecutionContext context) { try { initParam(context); setSourcesPartitionsAndPredicates(measure.getDataSources()); createJobInstance(job.getConfigMap()); } catch (Exception e) { LOGGER.error("Create predicate job failure.", e); } }  }
JobInstance implements Job { @Override @Transactional public void execute(JobExecutionContext context) { try { initParam(context); setSourcesPartitionsAndPredicates(measure.getDataSources()); createJobInstance(job.getConfigMap()); } catch (Exception e) { LOGGER.error("Create predicate job failure.", e); } }  @Override @Transactional void execute(JobExecutionContext context); }
JobInstance implements Job { @Override @Transactional public void execute(JobExecutionContext context) { try { initParam(context); setSourcesPartitionsAndPredicates(measure.getDataSources()); createJobInstance(job.getConfigMap()); } catch (Exception e) { LOGGER.error("Create predicate job failure.", e); } }  @Override @Transactional void execute(JobExecutionContext context); static final String MEASURE_KEY; static final String PREDICATES_KEY; static final String PREDICATE_JOB_NAME; static final String INTERVAL; static final String REPEAT; static final String CHECK_DONEFILE_SCHEDULE; }