VersionLatestMetric

Description

Inherits from Metric.

Important public methods of this class are:

Key

Return Type

Description

getMetricResult

int

Returns a number indicating whether the product's definition version is the latest or not. Return code 2 indicates that the definition version is the latest. Code 1 indicates that the definition version beats or equals selected history. Code 0 indicates that metric does not apply or insufficient information to determine metric. Code -1 indicates that the definition version is old. Code -2 indicates invalid or absent information given in request. Code -3 indicates OPSWAT Internal Error.