Package oshi.hardware.platform.unix
Class UnixBaseboard
java.lang.Object
oshi.hardware.common.AbstractBaseboard
oshi.hardware.platform.unix.UnixBaseboard
- All Implemented Interfaces:
Baseboard
@Immutable public final class UnixBaseboard extends AbstractBaseboard
Baseboard data obtained by a calling class
-
Constructor Summary
Constructors Constructor Description UnixBaseboard(java.lang.String manufacturer, java.lang.String model, java.lang.String serialNumber, java.lang.String version)
-
Method Summary
Modifier and Type Method Description java.lang.String
getManufacturer()
Get the baseboard manufacturer.java.lang.String
getModel()
Get the baseboard model.java.lang.String
getSerialNumber()
Get the baseboard serial number.java.lang.String
getVersion()
Get the baseboard version.Methods inherited from class oshi.hardware.common.AbstractBaseboard
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
UnixBaseboard
public UnixBaseboard(java.lang.String manufacturer, java.lang.String model, java.lang.String serialNumber, java.lang.String version)
-
-
Method Details
-
getManufacturer
public java.lang.String getManufacturer()Description copied from interface:Baseboard
Get the baseboard manufacturer.- Returns:
- The manufacturer.
-
getModel
public java.lang.String getModel()Description copied from interface:Baseboard
Get the baseboard model.- Returns:
- The model.
-
getSerialNumber
public java.lang.String getSerialNumber()Description copied from interface:Baseboard
Get the baseboard serial number.- Returns:
- The serial number.
-
getVersion
public java.lang.String getVersion()Description copied from interface:Baseboard
Get the baseboard version.- Returns:
- The version.
-