Class MacBaseboard

java.lang.Object
oshi.hardware.common.AbstractBaseboard
oshi.hardware.common.platform.mac.MacBaseboard
All Implemented Interfaces:
Baseboard

@Immutable public abstract class MacBaseboard extends AbstractBaseboard
Baseboard data obtained from ioreg
  • Constructor Details

    • MacBaseboard

      protected MacBaseboard()
      Default constructor.
  • Method Details

    • getManufacturer

      public String getManufacturer()
      Description copied from interface: Baseboard
      Get the baseboard manufacturer.
      Returns:
      The manufacturer.
    • getModel

      public String getModel()
      Description copied from interface: Baseboard
      Get the baseboard model.
      Returns:
      The model.
    • getVersion

      public String getVersion()
      Description copied from interface: Baseboard
      Get the baseboard version.
      Returns:
      The version.
    • getSerialNumber

      public String getSerialNumber()
      Description copied from interface: Baseboard
      Get the baseboard serial number.
      Returns:
      The serial number.
    • ioKitProvider

      protected abstract IOKitProvider ioKitProvider()
      Returns the IOKit provider for this implementation.
      Returns:
      the IOKit provider
    • queryPlatform

      protected Quartet<String,String,String,String> queryPlatform()
      Queries platform baseboard information.
      Returns:
      a quartet of manufacturer, model, version, serial number