Interface WmiResult<T extends Enum<T>>
- Type Parameters:
T- the enum type representing the queried properties
public interface WmiResult<T extends Enum<T>>
Common interface for WMI query results, abstracting JNA and FFM implementations.
-
Method Summary
Modifier and TypeMethodDescriptionintgetCIMType(T property) Gets the CIM type of a property.intGets the number of results in this result set.Gets the value of a property at the given index.intGets the variant type of a property.
-
Method Details
-
getResultCount
int getResultCount()Gets the number of results in this result set.- Returns:
- the result count
-
getValue
-
getVtType
Gets the variant type of a property.- Parameters:
property- the property enum constant- Returns:
- the VT type constant
-
getCIMType
Gets the CIM type of a property.- Parameters:
property- the property enum constant- Returns:
- the CIM type constant
-