slmetric.config.Configuration 类
命名空间: slmetric.config
(即将删除)指定度量数据类别和自定义度量族别
以后的版本中将会删除度量仪表板用户界面、metricdashboard 函数、slmetric 包 API 以及相应的自定义项。有关详细信息,请参阅Migrating from Metrics Dashboard to Model Maintainability Dashboard。
描述
slmetric.config.Configuration 的实例包含与阈值和自定义度量族别相关的自定义项。度量引擎在收集数据时会使用这些自定义项,并在度量仪表板上显示它们。
构造
使用 slmetric.config.Configuration 类向度量仪表板添加度量阈值和自定义度量族别。要创建 slmetric.config.Configuration 对象,请使用 new 方法。每个 slmetric.config.Configuration 对象包含一个 slmetric.config.ThresholdConfiguration 对象。
属性
方法
| getMetricFamilyParameterValues | (To be removed) Obtain metric family Check Group IDs |
| getThresholdConfigurations | (To be removed) Specify metric threshold configurations |
| isMetricFamilyParameterParameterized | (To be removed) Determine whether Metrics Dashboard configuration object has metric family parameter values |
| new | (将删除)创建用于自定义度量仪表板的配置对象 |
| open | (To be removed) Create configuration object associated with XML configuration file in base workspace |
| openDefaultConfiguration | (To be removed) Return shipping Metrics Dashboard configuration object in base workspace |
| resetMetricFamilyParameterValues | (To be removed) Clear metric family parameter values |
| save | (To be removed) Save contents of slmetric.config.Configuration
object to XML file |
| setMetricFamilyParameterValues | (To be removed) Obtain compliance and issues metric data on your Model Advisor configuration |