slmetric.config.MetricRange Class
Namespace: slmetric.config
(To be removed) Specify metric data threshold values
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
Specify metric data thresholds corresponding to the Category
property
of an slmetric.config.Classification
object. These thresholds define metric
data ranges for these three categories: complaint, noncompliant, and warning. The Metrics
Dashboard alerts you to the category that your data falls under.
Construction
Use the slmetric.config.Threshold.getClassifications
method to access
the default Compliant
slmetric.config.Classification
object. Or, use the
slmetric.config.Threshold.addClassification
method to create
NonCompliant
and Warning
slmetric.config.Classication
objects. Then write directly to the
slmetric.config.MetricRange
properties.