public class NsclientCheckParams extends Object
| Constructor and Description | 
|---|
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,
                   String params)
Constructor, sets the critical and warning thresholds and the parameter
 strings. 
 | 
NsclientCheckParams(String params)
Constructor, sets the parameter string used when creating check
 requests. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getCriticalPercent()
Returns the critical threshold value. 
 | 
String | 
getParamString()
Returns the string containing the parameters for creating check
 requests. 
 | 
int | 
getWarningPercent()
Returns the warning threshold value. 
 | 
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,
                           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(String params)
params - the parameter string used for creating check requests.public int getWarningPercent()
public int getCriticalPercent()
public String getParamString()
Copyright © 2021. All rights reserved.