Package io.deephaven.process
Class OperatingSystemOshi
java.lang.Object
io.deephaven.process.OperatingSystemOshi
- All Implemented Interfaces:
PropertySet
-
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 OperatingSystemOshi
from
(oshi.software.os.OperatingSystem os) abstract String
abstract String
abstract NetworkOshi
abstract int
getPid()
abstract OperatingSystemVersionOshi
final void
traverse
(PropertyVisitor visitor) Traverse this property set and output the property key/values to the given visitor.
-
Constructor Details
-
OperatingSystemOshi
public OperatingSystemOshi()
-
-
Method Details
-
getFamily
-
getManufacturer
-
getVersion
-
getNetwork
-
getPid
@Parameter public abstract int getPid() -
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
-