slmetric.config.Configuration.open
Class: slmetric.config.Configuration
Namespace: slmetric.config
(To be removed) Create configuration object associated with XML configuration file in base workspace
The Metrics Dashboard user interface, metricdashboard
function, slmetric
package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.
Description
Reads the contents of an XML file containing Metrics Dashboard customizations into memory
and returns the corresponding configuration object. The XML file contains customizations
pertaining to metric thresholds and custom metric families. If you modify the contents of the
configuration object, invoke the save
method to write to the associated XML
file.
Note
If you do not supply an input argument, the
slmetric.config.Configuration.open
command reads the contents of the
default Metrics Dashboard configuration XML file into memory and returns the corresponding
slmetric.dashboard.Configuration
object.