Package io.deephaven.process
Class FirmwareOshi
java.lang.Object
io.deephaven.process.FirmwareOshi
- All Implemented Interfaces:
PropertySet
The Firmware represents the low level BIOS or equivalent
-
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 FirmwareOshi
from
(oshi.hardware.Firmware firmware) abstract String
Get the firmware description.abstract String
Get the firmware manufacturer.abstract String
getName()
Get the firmware name.abstract String
Get the firmware release date.abstract String
Get the firmware version.final void
traverse
(PropertyVisitor visitor) Traverse this property set and output the property key/values to the given visitor.
-
Constructor Details
-
FirmwareOshi
public FirmwareOshi()
-
-
Method Details
-
getManufacturer
Get the firmware manufacturer.- Returns:
- the manufacturer
-
getName
Get the firmware name.- Returns:
- the name
-
getDescription
Get the firmware description.- Returns:
- the description
-
getVersion
Get the firmware version.- Returns:
- the version
-
getReleaseDate
Get the firmware release date.- Returns:
- The date in ISO 8601 YYYY-MM-DD format.
-
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
-