Interface JobRunrConfiguration.DatabaseConfiguration
-
- Enclosing interface:
- JobRunrConfiguration
@ConfigurationProperties("database") public static interface JobRunrConfiguration.DatabaseConfiguration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<java.lang.String>getDatabaseName()The name of the database to use (only used by MongoDBStorageProvider).java.util.Optional<java.lang.String>getDatasource()An optional namedDataSourceto use.java.util.Optional<java.lang.String>getTablePrefix()Allows to set the table prefix used by JobRunrbooleanisSkipCreate()Allows to skip the creation of the tables - this means you should add them manually or by database migration tools like FlywayDB or Liquibase.
-
-
-
Method Detail
-
isSkipCreate
@Bindable(defaultValue="false") boolean isSkipCreate()
Allows to skip the creation of the tables - this means you should add them manually or by database migration tools like FlywayDB or Liquibase.
-
getDatabaseName
java.util.Optional<java.lang.String> getDatabaseName()
The name of the database to use (only used by MongoDBStorageProvider). By default, it is 'jobrunr'.
-
getTablePrefix
java.util.Optional<java.lang.String> getTablePrefix()
Allows to set the table prefix used by JobRunr
-
getDatasource
java.util.Optional<java.lang.String> getDatasource()
An optional namedDataSourceto use. Defaults to the 'default' datasource.
-
-