DateLatestMetric

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 date is the latest or not. Return code 4 indicates that the definition date is the latest in the history. Code 3 indicates that the definition date beats or equals selected history. Code 2 indicates that the definition date beats or equals selected history within 12-hour window. Code 1 indicates that the definition date beats or equals selected history within 36-hour window. Code 0 indicates that metric does not apply or insufficient information to determine metric. Code -1 indicates that the Definition Date is old. Code -2 indicates invalid or absent information given in request. Code -3 indicates OPSWAT Internal Error.