Package org.metricshub.wmi.wbem
Class WmiCimTypeHandler
java.lang.Object
org.metricshub.wmi.wbem.WmiCimTypeHandler
-
Method Summary
-
Method Details
-
getPropertyValue
public static Map<String,Object> getPropertyValue(com.sun.jna.platform.win32.COM.Wbemcli.IWbemClassObject wbemClassObject, Map.Entry<String, Set<String>> property) Get the value of the specified property from the specified WbemClassObject- Parameters:
wbemClassObject
- WbemClassObjectproperty
- The Property to retrieve. An Entry with the property name as the key and a set of sub properties to retrieve if exists.- Returns:
- A Map with the property value converted as a Java object, or null if property cannot be retrieved. The key is the property name as defined in the select request. (example: DriveInfo.Name)
- See Also:
-