Class is used to describe individual limits for some metric. More...
Public Member Functions | |
String | getLimitDescription () |
Returns description of this limit. More... | |
Double | getLowerErrorThreshold () |
Returns lower error threshold - LET. More... | |
Double | getLowerWarningThreshold () |
Returns lower warning threshold - LWT. More... | |
String | getMetricName () |
Returns metric name (aka metric Id) - metric we are going to compare. More... | |
Double | getRefValue () |
Returns reference value - absolute value used as reference for comparison. More... | |
Double | getUpperErrorThreshold () |
Returns upper error threshold - UET. More... | |
Double | getUpperWarningThreshold () |
Returns upper warning threshold - UWT. More... | |
Limit () | |
void | setLimitDescription (String limitDescription) |
void | setLowerErrorThreshold (Double lowerErrorThreshold) |
void | setLowerWarningThreshold (Double lowerWarningThreshold) |
void | setMetricName (String metricName) |
void | setRefValue (Double refValue) |
void | setUpperErrorThreshold (Double upperErrorThreshold) |
void | setUpperWarningThreshold (Double upperWarningThreshold) |
String | toString () |
Class is used to describe individual limits for some metric.
Limits are used for decision making
Metric comparison will be provided by BasicTGDecisionMakerListener decision maker or
by custom implementation of TestGroupDecisionMakerListener
Metric value will be compared with some reference: ref, where ref is:
Result OK when value in range (LWT*ref .. UWT*ref)
Result WARNING when value in range (LET*ref .. LWT*ref) OR (UWT*ref .. UET*ref)
Result FATAL when value is less than LET*ref OR is greater than UET*ref