AbstractMetric
Description |
An abstract class that represents a metric, which is a way to measure product's staleness. It is used as a base class of specific metrics. |
Important public methods of this class are:
Key |
Return Type |
Description |
getType |
MetricTypeEnum |
Returns the type of this metric. Each child class overrides this method to return its metric type. The result can be VERSION_MAJOR_COUNT_BEHIND, VERSION_MINOR_COUNT_BEHIND, VERSION_MAJOR_IS_RECENT, VERSION_MINOR_IS_RECENT, OM_COUNT_BEHIND, OM_BASIC, OM_STRICT, OM_ENGINE_LATEST, OM_DATE_LATEST, OM_VERSION_LATEST, OM_VERSION_AGE. |