public class WmiParams extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static String | WMI_DEFAULT_NAMESPACEConstant  WMI_DEFAULT_NAMESPACE="root/cimv2" | 
| static String | WMI_OPERATION_INSTANCEOFConstant  WMI_OPERATION_INSTANCEOF="InstanceOf" | 
| static String | WMI_OPERATION_WQLConstant  WMI_OPERATION_WQL="Wql" | 
| Constructor and Description | 
|---|
| WmiParams(String queryType,
         Object compVal,
         String compOp,
         String wmiObj1,
         String wmiObj2)Constructor, sets the critical threshold. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getCompareOperation()getCompareOperation | 
| Object | getCompareValue()getCompareValue | 
| String | getWmiClass()getWmiClass | 
| String | getWmiObject()getWmiObject | 
| String | getWmiOperation()getWmiOperation | 
| String | getWql()getWql | 
| void | setCompareOperation(String compareOperation)setCompareOperation | 
| void | setCompareValue(Object compareValue)setCompareValue | 
| void | setWmiClass(String wmiClass)setWmiClass | 
| void | setWmiObject(String wmiObject)setWmiObject | 
| void | setWmiOperation(String wmiOperation)setWmiOperation | 
| void | setWql(String wmiWql)setWql | 
public static final String WMI_OPERATION_INSTANCEOF
WMI_OPERATION_INSTANCEOF="InstanceOf"public static final String WMI_OPERATION_WQL
WMI_OPERATION_WQL="Wql"public static final String WMI_DEFAULT_NAMESPACE
WMI_DEFAULT_NAMESPACE="root/cimv2"public WmiParams(String queryType, Object compVal, String compOp, String wmiObj1, String wmiObj2)
queryType - the type of query operation to perform.compVal - the value to be used for the comparison.compOp - the operation to be used in the comparison.wmiObj1 - the WMI class to be queried, or WQL to be executed.wmiObj2 - the WMI object within to be queried.public Object getCompareValue()
getCompareValue
public void setCompareValue(Object compareValue)
setCompareValue
compareValue - the m_CompareValue to setpublic String getCompareOperation()
getCompareOperation
public void setCompareOperation(String compareOperation)
setCompareOperation
compareOperation - the m_CompareOperation to setpublic String getWmiClass()
getWmiClass
public void setWmiClass(String wmiClass)
setWmiClass
wmiClass - the m_WmiClass to setpublic String getWmiObject()
getWmiObject
public void setWmiObject(String wmiObject)
setWmiObject
wmiObject - the m_WmiObject to setCopyright © 2021. All rights reserved.