|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.jnrpe.utils.ThresholdUtil
ReturnValueBuilder
together with the
ThresholdsEvaluatorBuilder instead.
@Deprecated public final class ThresholdUtil
Utility class for evaluating threshold This class conforms to the nagios plugin guidelines (http://nagiosplug.sourceforge.net/developer-guidelines.html #THRESHOLDFORMAT). The generalised range format is: [@]start:end Values are interpreted this way:
| Method Summary | |
|---|---|
static boolean |
isValueInRange(String thresholdString,
BigDecimal value)
Deprecated. Returns true if the value dalue falls into the
range sRange. |
static boolean |
isValueInRange(String thresholdString,
int value)
Deprecated. Returns true if the value iValue falls into the
range sRange. |
static boolean |
isValueInRange(String thresholdString,
Long value)
Deprecated. Returns true if the value dalue falls into the
range sRange. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isValueInRange(String thresholdString,
int value)
throws BadThresholdException
true if the value iValue falls into the
range sRange.
thresholdString - The rangevalue - The value
true if the value iValue falls into the
BadThresholdException - -
public static boolean isValueInRange(String thresholdString,
BigDecimal value)
throws BadThresholdException
true if the value dalue falls into the
range sRange.
thresholdString - The rangevalue - The value given range
true if the given value falls inside the given range
BadThresholdException - -
public static boolean isValueInRange(String thresholdString,
Long value)
throws BadThresholdException
true if the value dalue falls into the
range sRange.
thresholdString - The rangevalue - The value given range
true if the given value falls inside the given range
BadThresholdException - -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||