qgis_deployment_toolbelt.jobs.orchestrator module¶
Read and validate scenario files.
Author: Julien Moura (https://github.com/guts, Oslandia)
- class qgis_deployment_toolbelt.jobs.orchestrator.JobsOrchestrator¶
Bases:
object
Orchestrate jobs.
- JOBS: tuple = (<class 'qgis_deployment_toolbelt.jobs.job_environment_variables.JobEnvironmentVariables'>, <class 'qgis_deployment_toolbelt.jobs.job_plugins_downloader.JobPluginsDownloader'>, <class 'qgis_deployment_toolbelt.jobs.job_plugins_synchronizer.JobPluginsSynchronizer'>, <class 'qgis_deployment_toolbelt.jobs.job_profiles_downloader.JobProfilesDownloader'>, <class 'qgis_deployment_toolbelt.jobs.job_profiles_synchronizer.JobProfilesSynchronizer'>, <class 'qgis_deployment_toolbelt.jobs.job_shortcuts.JobShortcutsManager'>, <class 'qgis_deployment_toolbelt.jobs.job_splash_screen.JobSplashScreenManager'>, <class 'qgis_deployment_toolbelt.jobs.job_qgis_installation_finder.JobQgisInstallationFinder'>)¶
- get_job_module_from_id(job_id: str) GenericJob | None ¶
Get job class from id.
- Parameters:
job_id (str) – job identifier (as defined in scenario file)
- Return object:
Job class
- init_job_class_from_id(job_id: str, options: dict) GenericJob | None ¶
Get job class from id and instanciate it with options.