BasicMetric

Description

Inherits from Metric.

Important public methods of this class are:

Key

Return Type

Description

getMetricResult

int

Returns the general staleness of product's definition based on definition date and definition version. Return code 1 indicates that the client passes metric. Code 0 indicates that metric does not apply or insufficient information to determine metric. Code -1 indicates that the client failed metric. Code -2 indicates invalid or absent information given in request. Code -3 indicates OPSWAT Internal Error.