@Test public void setDefaultSerializationFormat() { final String defaultSerializationFormat = "testformat"; properties.setDefaultSerializationFormat(defaultSerializationFormat); instance.preInit(configuration); assertThat(configuration.getDefaultSerializationFormat()).isSameAs(defaultSerializationFormat); }
private void setDefaultSerializationFormat(SpringProcessEngineConfiguration configuration) { String defaultSerializationFormat = camundaBpmProperties.getDefaultSerializationFormat(); if (StringUtils.hasText(defaultSerializationFormat)) { configuration.setDefaultSerializationFormat(defaultSerializationFormat); } else { logger.warn("Ignoring invalid defaultSerializationFormat='{}'", defaultSerializationFormat); } }
DefaultProcessEngineConfiguration extends AbstractCamundaConfiguration implements CamundaProcessEngineConfiguration { private void setDefaultSerializationFormat(SpringProcessEngineConfiguration configuration) { String defaultSerializationFormat = camundaBpmProperties.getDefaultSerializationFormat(); if (StringUtils.hasText(defaultSerializationFormat)) { configuration.setDefaultSerializationFormat(defaultSerializationFormat); } else { logger.warn("Ignoring invalid defaultSerializationFormat='{}'", defaultSerializationFormat); } } }
DefaultProcessEngineConfiguration extends AbstractCamundaConfiguration implements CamundaProcessEngineConfiguration { private void setDefaultSerializationFormat(SpringProcessEngineConfiguration configuration) { String defaultSerializationFormat = camundaBpmProperties.getDefaultSerializationFormat(); if (StringUtils.hasText(defaultSerializationFormat)) { configuration.setDefaultSerializationFormat(defaultSerializationFormat); } else { logger.warn("Ignoring invalid defaultSerializationFormat='{}'", defaultSerializationFormat); } }  }
DefaultProcessEngineConfiguration extends AbstractCamundaConfiguration implements CamundaProcessEngineConfiguration { private void setDefaultSerializationFormat(SpringProcessEngineConfiguration configuration) { String defaultSerializationFormat = camundaBpmProperties.getDefaultSerializationFormat(); if (StringUtils.hasText(defaultSerializationFormat)) { configuration.setDefaultSerializationFormat(defaultSerializationFormat); } else { logger.warn("Ignoring invalid defaultSerializationFormat='{}'", defaultSerializationFormat); } }  @Override void preInit(SpringProcessEngineConfiguration configuration); }
DefaultProcessEngineConfiguration extends AbstractCamundaConfiguration implements CamundaProcessEngineConfiguration { private void setDefaultSerializationFormat(SpringProcessEngineConfiguration configuration) { String defaultSerializationFormat = camundaBpmProperties.getDefaultSerializationFormat(); if (StringUtils.hasText(defaultSerializationFormat)) { configuration.setDefaultSerializationFormat(defaultSerializationFormat); } else { logger.warn("Ignoring invalid defaultSerializationFormat='{}'", defaultSerializationFormat); } }  @Override void preInit(SpringProcessEngineConfiguration configuration);  }