Enum CimQuery
- All Implemented Interfaces:
Serializable
,Comparable<CimQuery>
Enum representing the predefined WMI (CIM) queries used in the system.
Each constant holds a PowerShell query that queries a specific WMI class
and returns the result in JSON format. These queries are typically executed
using PowerShell
and mapped to
corresponding Java objects.
- Since:
- 2.0.0
- Author:
- Egg-03
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionQuery to fetch the properties ofWin32_Battery
classQuery to fetch the properties ofWin32_BIOS
classQuery to fetch the properties ofWin32_ComputerSystemProduct
classQuery to fetch the properties ofWin32_DiskPartition
classQuery to fetch the properties ofWin32_DiskDrive
classQuery to fetch the properties ofWin32_PortConnector
classQuery to fetch the properties ofWin32_Baseboard
classQuery to fetch the properties ofWin32_DesktopMonitor
classQuery to fetch the properties ofWin32_NetworkAdapterConfiguration
classQuery to fetch the properties ofWin32_NetworkAdapter
classQuery to fetch the properties ofWin32_OperatingSystem
classQuery to fetch the properties ofWin32_PhysicalMemory
classQuery to fetch the properties ofWin32_CacheMemory
classQuery to fetch the properties ofWin32_Processor
classQuery to fetch the properties ofWin32_VideoController
class -
Method Summary
-
Enum Constant Details
-
BATTERY_QUERY
Query to fetch the properties ofWin32_Battery
class -
MONITOR_QUERY
Query to fetch the properties ofWin32_DesktopMonitor
class -
VIDEO_CONTROLLER_QUERY
Query to fetch the properties ofWin32_VideoController
class -
PROCESSOR_QUERY
Query to fetch the properties ofWin32_Processor
class -
PROCESSOR_CACHE_QUERY
Query to fetch the properties ofWin32_CacheMemory
class -
BIOS_QUERY
Query to fetch the properties ofWin32_BIOS
class -
MAINBOARD_QUERY
Query to fetch the properties ofWin32_Baseboard
class -
MAINBOARD_PORT_QUERY
Query to fetch the properties ofWin32_PortConnector
class -
PHYSICAL_MEMORY_QUERY
Query to fetch the properties ofWin32_PhysicalMemory
class -
NETWORK_ADAPTER_QUERY
Query to fetch the properties ofWin32_NetworkAdapter
class -
NETWORK_ADAPTER_CONFIGURATION_QUERY
Query to fetch the properties ofWin32_NetworkAdapterConfiguration
class -
OPERATING_SYSTEM_QUERY
Query to fetch the properties ofWin32_OperatingSystem
class -
DISK_QUERY
Query to fetch the properties ofWin32_DiskDrive
class -
DISK_PARTITION_QUERY
Query to fetch the properties ofWin32_DiskPartition
class -
COMPUTER_SYSTEM_PRODUCT
Query to fetch the properties ofWin32_ComputerSystemProduct
class
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-