@Test public void restrict_allowed_values_for_dbUpdate() { new CamundaBpmProperties().getDatabase().setSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE); new CamundaBpmProperties().getDatabase().setSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_FALSE); new CamundaBpmProperties().getDatabase().setSchemaUpdate(ProcessEngineConfigurationImpl.DB_SCHEMA_UPDATE_CREATE); new CamundaBpmProperties().getDatabase().setSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_CREATE_DROP); new CamundaBpmProperties().getDatabase().setSchemaUpdate(ProcessEngineConfigurationImpl.DB_SCHEMA_UPDATE_DROP_CREATE); thrown.expect(IllegalArgumentException.class); thrown.expectMessage("foo"); new CamundaBpmProperties().getDatabase().setSchemaUpdate("foo"); }
public DatabaseProperty getDatabase() { return database; }
CamundaBpmProperties { public DatabaseProperty getDatabase() { return database; } }
CamundaBpmProperties { public DatabaseProperty getDatabase() { return database; }  }
CamundaBpmProperties { public DatabaseProperty getDatabase() { return database; }  static String getUniqueName(String name); String getProcessEngineName(); void setProcessEngineName(String processEngineName); String getHistoryLevel(); void setHistoryLevel(String historyLevel); String getHistoryLevelDefault(); void setHistoryLevelDefault(String historyLevelDefault); boolean isAutoDeploymentEnabled(); void setAutoDeploymentEnabled(boolean autoDeploymentEnabled); String[] getDeploymentResourcePattern(); void setDeploymentResourcePattern(String[] deploymentResourcePattern); String getDefaultSerializationFormat(); void setDefaultSerializationFormat(String defaultSerializationFormat); URL getLicenseFile(); void setLicenseFile(URL licenseFile); MetricsProperty getMetrics(); void setMetrics(MetricsProperty metrics); DatabaseProperty getDatabase(); void setDatabase(DatabaseProperty database); EventingProperty getEventing(); void setEventing(EventingProperty eventing); JpaProperty getJpa(); void setJpa(JpaProperty jpa); JobExecutionProperty getJobExecution(); void setJobExecution(JobExecutionProperty jobExecution); WebappProperty getWebapp(); void setWebapp(WebappProperty webapp); AuthorizationProperty getAuthorization(); void setAuthorization(AuthorizationProperty authorization); GenericProperties getGenericProperties(); void setGenericProperties(GenericProperties genericProperties); AdminUserProperty getAdminUser(); void setAdminUser(AdminUserProperty adminUser); FilterProperty getFilter(); void setFilter(FilterProperty filter); String getIdGenerator(); void setIdGenerator(String idGenerator); Boolean getJobExecutorAcquireByPriority(); void setJobExecutorAcquireByPriority(Boolean jobExecutorAcquireByPriority); Integer getDefaultNumberOfRetries(); void setDefaultNumberOfRetries(Integer defaultNumberOfRetries); boolean isEnabled(); void setEnabled(boolean enabled); Boolean getGenerateUniqueProcessEngineName(); void setGenerateUniqueProcessEngineName(Boolean generateUniqueProcessEngineName); Boolean getGenerateUniqueProcessApplicationName(); void setGenerateUniqueProcessApplicationName(Boolean generateUniqueProcessApplicationName); @Override String toString(); }
CamundaBpmProperties { public DatabaseProperty getDatabase() { return database; }  static String getUniqueName(String name); String getProcessEngineName(); void setProcessEngineName(String processEngineName); String getHistoryLevel(); void setHistoryLevel(String historyLevel); String getHistoryLevelDefault(); void setHistoryLevelDefault(String historyLevelDefault); boolean isAutoDeploymentEnabled(); void setAutoDeploymentEnabled(boolean autoDeploymentEnabled); String[] getDeploymentResourcePattern(); void setDeploymentResourcePattern(String[] deploymentResourcePattern); String getDefaultSerializationFormat(); void setDefaultSerializationFormat(String defaultSerializationFormat); URL getLicenseFile(); void setLicenseFile(URL licenseFile); MetricsProperty getMetrics(); void setMetrics(MetricsProperty metrics); DatabaseProperty getDatabase(); void setDatabase(DatabaseProperty database); EventingProperty getEventing(); void setEventing(EventingProperty eventing); JpaProperty getJpa(); void setJpa(JpaProperty jpa); JobExecutionProperty getJobExecution(); void setJobExecution(JobExecutionProperty jobExecution); WebappProperty getWebapp(); void setWebapp(WebappProperty webapp); AuthorizationProperty getAuthorization(); void setAuthorization(AuthorizationProperty authorization); GenericProperties getGenericProperties(); void setGenericProperties(GenericProperties genericProperties); AdminUserProperty getAdminUser(); void setAdminUser(AdminUserProperty adminUser); FilterProperty getFilter(); void setFilter(FilterProperty filter); String getIdGenerator(); void setIdGenerator(String idGenerator); Boolean getJobExecutorAcquireByPriority(); void setJobExecutorAcquireByPriority(Boolean jobExecutorAcquireByPriority); Integer getDefaultNumberOfRetries(); void setDefaultNumberOfRetries(Integer defaultNumberOfRetries); boolean isEnabled(); void setEnabled(boolean enabled); Boolean getGenerateUniqueProcessEngineName(); void setGenerateUniqueProcessEngineName(Boolean generateUniqueProcessEngineName); Boolean getGenerateUniqueProcessApplicationName(); void setGenerateUniqueProcessApplicationName(Boolean generateUniqueProcessApplicationName); @Override String toString(); static final String PREFIX; static final String UNIQUE_ENGINE_NAME_PREFIX; static final String UNIQUE_APPLICATION_NAME_PREFIX; static final String[] DEFAULT_BPMN_RESOURCE_SUFFIXES; static final String[] DEFAULT_CMMN_RESOURCE_SUFFIXES; static final String[] DEFAULT_DMN_RESOURCE_SUFFIXES; }