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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComputerSystemOshifrom(oshi.hardware.ComputerSystem computerSystem) abstract BaseboardOshiGet the computer system baseboard/motherboardabstract FirmwareOshiGet the computer system firmware/BIOSabstract StringGet the computer system manufacturer.abstract StringgetModel()Get the computer system model.final voidtraverse(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
FirmwareOshiobject for this system
-
getBaseboard
Get the computer system baseboard/motherboard- Returns:
- A
BaseboardOshiobject for this system
-
traverse
Description copied from interface:PropertySetTraverse 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:
traversein interfacePropertySet- Parameters:
visitor- the visitor- See Also:
-
from
-