@Test public void setJobExecutorAcquireByPriority() { properties.setJobExecutorAcquireByPriority(null); instance.preInit(configuration); assertThat(configuration.isJobExecutorAcquireByPriority()).isEqualTo(false); properties.setJobExecutorAcquireByPriority(true); instance.preInit(configuration); assertThat(configuration.isJobExecutorAcquireByPriority()).isEqualTo(true); }
private void setJobExecutorAcquireByPriority(SpringProcessEngineConfiguration configuration) { Optional.ofNullable(camundaBpmProperties.getJobExecutorAcquireByPriority()) .ifPresent(configuration::setJobExecutorAcquireByPriority); }
DefaultProcessEngineConfiguration extends AbstractCamundaConfiguration implements CamundaProcessEngineConfiguration { private void setJobExecutorAcquireByPriority(SpringProcessEngineConfiguration configuration) { Optional.ofNullable(camundaBpmProperties.getJobExecutorAcquireByPriority()) .ifPresent(configuration::setJobExecutorAcquireByPriority); } }
DefaultProcessEngineConfiguration extends AbstractCamundaConfiguration implements CamundaProcessEngineConfiguration { private void setJobExecutorAcquireByPriority(SpringProcessEngineConfiguration configuration) { Optional.ofNullable(camundaBpmProperties.getJobExecutorAcquireByPriority()) .ifPresent(configuration::setJobExecutorAcquireByPriority); }  }
DefaultProcessEngineConfiguration extends AbstractCamundaConfiguration implements CamundaProcessEngineConfiguration { private void setJobExecutorAcquireByPriority(SpringProcessEngineConfiguration configuration) { Optional.ofNullable(camundaBpmProperties.getJobExecutorAcquireByPriority()) .ifPresent(configuration::setJobExecutorAcquireByPriority); }  @Override void preInit(SpringProcessEngineConfiguration configuration); }
DefaultProcessEngineConfiguration extends AbstractCamundaConfiguration implements CamundaProcessEngineConfiguration { private void setJobExecutorAcquireByPriority(SpringProcessEngineConfiguration configuration) { Optional.ofNullable(camundaBpmProperties.getJobExecutorAcquireByPriority()) .ifPresent(configuration::setJobExecutorAcquireByPriority); }  @Override void preInit(SpringProcessEngineConfiguration configuration);  }