|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.jnrpe.utils.ThresholdUtil
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 sRange,
BigDecimal value)
Returns true if the value dalue falls into the. |
static boolean |
isValueInRange(String sRange,
int iValue)
Returns true if the value iValue falls into the. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isValueInRange(String sRange,
int iValue)
true if the value iValue falls into the.
range sRange.
sRange - The rangeiValue - The value
true if the value iValue falls into the
public static boolean isValueInRange(String sRange,
BigDecimal value)
true if the value dalue falls into the.
range sRange.
sRange - The rangevalue - The value
true if the value dalue falls into the
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||