@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED) public class QuartzBuildTimeConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
clustered
Enable cluster mode or not.
|
Optional<String> |
dataSourceName
The name of the datasource to use.
|
Map<String,QuartzExtensionPointConfig> |
jobListeners
Job listeners.
|
Map<String,QuartzExtensionPointConfig> |
plugins
Plugins.
|
StoreType |
storeType
The type of store to use.
|
String |
tablePrefix
The prefix for quartz job store tables.
|
Map<String,QuartzExtensionPointConfig> |
triggerListeners
Trigger listeners.
|
| Constructor and Description |
|---|
QuartzBuildTimeConfig() |
@ConfigItem public boolean clustered
If enabled make sure to set the appropriate cluster properties.
@ConfigItem(defaultValue="ram") public StoreType storeType
When using the `db` store type configuration value make sure that you have the datasource configured. See Configuring your datasource for more information.
To create Quartz tables, you can perform a schema migration via the Flyway extension using a SQL script matching your database picked from Quartz repository.
@ConfigItem(name="datasource") public Optional<String> dataSourceName
Optionally needed when using the `db` store type. If not specified, defaults to using the default datasource.
@ConfigItem(defaultValue="QRTZ_") public String tablePrefix
Ignored if using a `ram` store.
@ConfigItem @ConfigDocMapKey(value="listener-name") @ConfigDocSection public Map<String,QuartzExtensionPointConfig> triggerListeners
@ConfigItem @ConfigDocMapKey(value="listener-name") @ConfigDocSection public Map<String,QuartzExtensionPointConfig> jobListeners
@ConfigItem @ConfigDocMapKey(value="plugin-name") @ConfigDocSection public Map<String,QuartzExtensionPointConfig> plugins
Copyright © 2020 JBoss by Red Hat. All rights reserved.