Redesign of job options management
- introduce a namespace to hold interfaces:
Gaudi::Interfaces - introduce a new interface
Gaudi::Interfaces::IOptionsSvc - deprecate
IJobOptionsSvcmethods - rewritten
JopOptionsSvcto implement the new interface and provide implementation ofIJobOptionsSvcthrough the new methods - modified
ISvcLocatorto provide quick access to the default implementation ofGaudi::Interfaces::IOptionsSvc - modified all components bases to use the new interface
- bind properties to the option service (at initialize)
-
IOptionsSvc::setdirectly sets the actual property -
IOptionsSvc::getreturns the value of the actual property (as string) even if not originally set from option files
-
- added options to lazily set global defaults
-
JopOptionsSvc().GlobalDefaults = [(r'.*\.OutputLevel$', '5')]can replaceMessageSvc().OutputLevel = 5
-
Note: includes !759 (merged)
Edited by Marco Clemencic