@Test(expected = IllegalArgumentException.class) public void afterPropertiesSetTest3() throws Exception { new HistoryLevelDeterminatorJdbcTemplateImpl().afterPropertiesSet(); }
@Override public void afterPropertiesSet() throws Exception { Assert.notNull(jdbcTemplate, "a jdbc template must be set"); Assert.notNull(camundaBpmProperties, "camunda bpm properties must be set"); String historyLevelDefault = camundaBpmProperties.getHistoryLevelDefault(); if (StringUtils.hasText(historyLevelDefault)) { defaultHistoryLevel = historyLevelDefault; } }
HistoryLevelDeterminatorJdbcTemplateImpl implements HistoryLevelDeterminator, InitializingBean { @Override public void afterPropertiesSet() throws Exception { Assert.notNull(jdbcTemplate, "a jdbc template must be set"); Assert.notNull(camundaBpmProperties, "camunda bpm properties must be set"); String historyLevelDefault = camundaBpmProperties.getHistoryLevelDefault(); if (StringUtils.hasText(historyLevelDefault)) { defaultHistoryLevel = historyLevelDefault; } } }
HistoryLevelDeterminatorJdbcTemplateImpl implements HistoryLevelDeterminator, InitializingBean { @Override public void afterPropertiesSet() throws Exception { Assert.notNull(jdbcTemplate, "a jdbc template must be set"); Assert.notNull(camundaBpmProperties, "camunda bpm properties must be set"); String historyLevelDefault = camundaBpmProperties.getHistoryLevelDefault(); if (StringUtils.hasText(historyLevelDefault)) { defaultHistoryLevel = historyLevelDefault; } }  }
HistoryLevelDeterminatorJdbcTemplateImpl implements HistoryLevelDeterminator, InitializingBean { @Override public void afterPropertiesSet() throws Exception { Assert.notNull(jdbcTemplate, "a jdbc template must be set"); Assert.notNull(camundaBpmProperties, "camunda bpm properties must be set"); String historyLevelDefault = camundaBpmProperties.getHistoryLevelDefault(); if (StringUtils.hasText(historyLevelDefault)) { defaultHistoryLevel = historyLevelDefault; } }  static HistoryLevelDeterminator createHistoryLevelDeterminator(CamundaBpmProperties camundaBpmProperties, JdbcTemplate jdbcTemplate); String getDefaultHistoryLevel(); void setDefaultHistoryLevel(String defaultHistoryLevel); JdbcTemplate getJdbcTemplate(); void setJdbcTemplate(JdbcTemplate jdbcTemplate); boolean isIgnoreDataAccessException(); void setIgnoreDataAccessException(boolean ignoreDataAccessException); CamundaBpmProperties getCamundaBpmProperties(); void setCamundaBpmProperties(CamundaBpmProperties camundaBpmProperties); @Override void afterPropertiesSet(); @Override String determineHistoryLevel(); void addCustomHistoryLevels(Collection<HistoryLevel> customHistoryLevels); }
HistoryLevelDeterminatorJdbcTemplateImpl implements HistoryLevelDeterminator, InitializingBean { @Override public void afterPropertiesSet() throws Exception { Assert.notNull(jdbcTemplate, "a jdbc template must be set"); Assert.notNull(camundaBpmProperties, "camunda bpm properties must be set"); String historyLevelDefault = camundaBpmProperties.getHistoryLevelDefault(); if (StringUtils.hasText(historyLevelDefault)) { defaultHistoryLevel = historyLevelDefault; } }  static HistoryLevelDeterminator createHistoryLevelDeterminator(CamundaBpmProperties camundaBpmProperties, JdbcTemplate jdbcTemplate); String getDefaultHistoryLevel(); void setDefaultHistoryLevel(String defaultHistoryLevel); JdbcTemplate getJdbcTemplate(); void setJdbcTemplate(JdbcTemplate jdbcTemplate); boolean isIgnoreDataAccessException(); void setIgnoreDataAccessException(boolean ignoreDataAccessException); CamundaBpmProperties getCamundaBpmProperties(); void setCamundaBpmProperties(CamundaBpmProperties camundaBpmProperties); @Override void afterPropertiesSet(); @Override String determineHistoryLevel(); void addCustomHistoryLevels(Collection<HistoryLevel> customHistoryLevels);  }