|
OpenNMS API 1.2.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opennms.netmgt.poller.nsclient.NsclientCheckParams
This class contains the parameters used to perform and validate checks against the NSClient daemon.
Field Summary | |
private int |
m_CriticalPercent
Contains the critical threshold. |
private java.lang.String |
m_ParamString
Contains a string holding parameters related to check items. |
private int |
m_WarningPercent
Contains the warning threshold. |
Constructor Summary | |
NsclientCheckParams(int critPerc)
Constructor, sets the critical threshold. |
|
NsclientCheckParams(int critPerc,
int warnPerc)
Constructor, sets the critical and warning thresholds. |
|
NsclientCheckParams(int critPerc,
int warnPerc,
java.lang.String params)
Constructor, sets the critical and warning thresholds and the parameter strings. |
|
NsclientCheckParams(java.lang.String params)
Constructor, sets the parameter string used when creating check requests. |
Method Summary | |
int |
getCriticalPercent()
Returns the critical threshold value. |
java.lang.String |
getParamString()
Returns the string containing the parameters for creating check requests. |
int |
getWarningPercent()
Returns the warning threshold value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int m_WarningPercent
private int m_CriticalPercent
private java.lang.String m_ParamString
Constructor Detail |
public NsclientCheckParams(int critPerc)
critPerc
- the value to be used for the critical threshold.public NsclientCheckParams(int critPerc, int warnPerc)
critPerc
- the value to be used for the critical threshold.warnPerc
- the value to be used for the warning threshold.public NsclientCheckParams(int critPerc, int warnPerc, java.lang.String params)
critPerc
- the value to be used for the critical threshold.warnPerc
- the value to be used for the warning threshold.params
- the parameter string used for creating check requests.public NsclientCheckParams(java.lang.String params)
params
- the parameter string used for creating check requests.Method Detail |
public int getWarningPercent()
public int getCriticalPercent()
public java.lang.String getParamString()
|
OpenNMS API 1.2.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |