Package io.deephaven.process
Class ComputerSystemOshi
java.lang.Object
io.deephaven.process.ComputerSystemOshi
- All Implemented Interfaces:
PropertySet
The ComputerSystem represents the physical hardware, of a computer system/product and includes BIOS/firmware and a
motherboard, logic board, etc.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.deephaven.properties.PropertySet
PropertySet.PropertiesImpl, PropertySet.StringListImpl, PropertySet.StringMapImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ComputerSystemOshi
from
(oshi.hardware.ComputerSystem computerSystem) abstract BaseboardOshi
Get the computer system baseboard/motherboardabstract FirmwareOshi
Get the computer system firmware/BIOSabstract String
Get the computer system manufacturer.abstract String
getModel()
Get the computer system model.final void
traverse
(PropertyVisitor visitor) Traverse this property set and output the property key/values to the given visitor.
-
Constructor Details
-
ComputerSystemOshi
public ComputerSystemOshi()
-
-
Method Details
-
getManufacturer
Get the computer system manufacturer.- Returns:
- The manufacturer.
-
getModel
Get the computer system model.- Returns:
- The model.
-
getFirmware
Get the computer system firmware/BIOS- Returns:
- A
FirmwareOshi
object for this system
-
getBaseboard
Get the computer system baseboard/motherboard- Returns:
- A
BaseboardOshi
object for this system
-
traverse
Description copied from interface:PropertySet
Traverse this property set and output the property key/values to the given visitor.Callers should typically prefer to call
PropertyVisitor.visitProperties(PropertySet)
, as the inversion of logic allows the visitor (the more stateful object) to potentially perform initialization logic and traverse more efficiently.- Specified by:
traverse
in interfacePropertySet
- Parameters:
visitor
- the visitor- See Also:
-
from
-