CountBehindVersionMajorMetric

Description

Inherits from VersionMajorMetric.

Important public methods of this class are:

Key

Return Type

Description

getMetricResult

int

Returns the approximately number of versions that the product version passed in is behind the latest version based on the major part of version. 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.