Class BaseboardOshi

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

@Immutable public abstract class BaseboardOshi extends Object implements PropertySet
The Baseboard represents the system board, also called motherboard, logic board, etc.
  • Constructor Details

    • BaseboardOshi

      public BaseboardOshi()
  • Method Details

    • getManufacturer

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

      @Parameter public abstract String getModel()
      Get the baseboard model.
      Returns:
      The model.
    • getVersion

      @Parameter public abstract String getVersion()
      Get the baseboard version.
      Returns:
      The version.
    • getSerialNumber

      @Parameter public abstract String getSerialNumber()
      Get the baseboard serial number
      Returns:
      The serial number.
    • 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 BaseboardOshi from(oshi.hardware.Baseboard baseboard)