Class TasksConfig
java.lang.Object
org.bgerp.app.cfg.Config
org.bgerp.app.exec.scheduler.TasksConfig
Configuration of scheduled tasks.
-
Nested Class Summary
Nested classes/interfaces inherited from class Config
Config.InitStopException -
Field Summary
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTasksConfig(ConfigMap config) Constructor loading task configurations. -
Method Summary
Modifier and TypeMethodDescriptionGet a task configuration by IDConfigured tasks.Methods inherited from class Config
initWhen, throwValidationException
-
Constructor Details
-
TasksConfig
Constructor loading task configurations.- Parameters:
config- source configuration
-
-
Method Details
-
getTaskConfigs
-
getTaskConfigOrThrow
Get a task configuration by ID- Parameters:
id- the ID- Returns:
- a first found configuration
- Throws:
javassist.NotFoundException- if no task configuration has the ID
-