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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BaseboardOshifrom(oshi.hardware.Baseboard baseboard) abstract StringGet the baseboard manufacturer.abstract StringgetModel()Get the baseboard model.abstract StringGet the baseboard serial numberabstract StringGet the baseboard version.final voidtraverse(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: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
-