CountBehindMetric

Description

Inherits from Metric.

Important public methods of this class are:

Key

Return Type

Description

getMetricResult

int

Returns the number of versions that the product's definition version is behind from the latest definition version in the database. Return code 0 indicates the 'count behind' of the definition version ('0' indicates the latest version, '1' indicates 1 version behind, etc.). Code -1 indicates that the version is old and the count behind cannot be determined. Code -2 indicates invalid or absent information given in request. Code -3 indicates OPSWAT Internal Error. Code -4 indicates OPSWAT absent information.