Class ComputerSystemOshi

java.lang.Object
io.deephaven.process.ComputerSystemOshi
All Implemented Interfaces:
PropertySet

@Immutable public abstract class ComputerSystemOshi extends Object implements PropertySet
The ComputerSystem represents the physical hardware, of a computer system/product and includes BIOS/firmware and a motherboard, logic board, etc.
  • Constructor Details

    • ComputerSystemOshi

      public ComputerSystemOshi()
  • Method Details

    • getManufacturer

      @Parameter public abstract String getManufacturer()
      Get the computer system manufacturer.
      Returns:
      The manufacturer.
    • getModel

      @Parameter public abstract String getModel()
      Get the computer system model.
      Returns:
      The model.
    • getFirmware

      @Parameter public abstract FirmwareOshi getFirmware()
      Get the computer system firmware/BIOS
      Returns:
      A FirmwareOshi object for this system
    • getBaseboard

      @Parameter public abstract BaseboardOshi getBaseboard()
      Get the computer system baseboard/motherboard
      Returns:
      A BaseboardOshi object for this system
    • traverse

      public final void traverse(PropertyVisitor visitor)
      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 interface PropertySet
      Parameters:
      visitor - the visitor
      See Also:
    • from

      public static ComputerSystemOshi from(oshi.hardware.ComputerSystem computerSystem)