Package io.deephaven.process
Class BaseboardOshi
java.lang.Object
io.deephaven.process.BaseboardOshi
- All Implemented Interfaces:
PropertySet
The Baseboard represents the system board, also called 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 BaseboardOshi
from
(oshi.hardware.Baseboard baseboard) abstract String
Get the baseboard manufacturer.abstract String
getModel()
Get the baseboard model.abstract String
Get the baseboard serial numberabstract String
Get the baseboard version.final void
traverse
(PropertyVisitor visitor) Traverse this property set and output the property key/values to the given visitor.
-
Constructor Details
-
BaseboardOshi
public BaseboardOshi()
-
-
Method Details
-
getManufacturer
Get the baseboard manufacturer.- Returns:
- The manufacturer.
-
getModel
Get the baseboard model.- Returns:
- The model.
-
getVersion
Get the baseboard version.- Returns:
- The version.
-
getSerialNumber
Get the baseboard serial number- Returns:
- The serial number.
-
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
-