public class ComputerSystemImpl extends AbstractOshiJsonObject implements ComputerSystem
| Constructor and Description |
|---|
ComputerSystemImpl(ComputerSystem computerSystem)
Creates a new platform-specific ComputerSystem object wrapping the
provided argument
|
| Modifier and Type | Method and Description |
|---|---|
Baseboard |
getBaseboard()
Get the computer system baseboard/motherboard
|
Firmware |
getFirmware()
Get the computer system firmware/BIOS
|
String |
getManufacturer()
Get the computer system manufacturer.
|
String |
getModel()
Get the computer system model.
|
String |
getSerialNumber()
Get the computer system serial number
|
javax.json.JsonObject |
toJSON(Properties properties)
Returns this object as a
JsonObject. |
String |
toString() |
toCompactJSON, toCompactJSON, toJSON, toPrettyJSON, toPrettyJSONclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoCompactJSON, toCompactJSON, toJSON, toPrettyJSON, toPrettyJSONpublic ComputerSystemImpl(ComputerSystem computerSystem)
computerSystem - a platform-specific ComputerSystem objectpublic String getManufacturer()
getManufacturer in interface ComputerSystempublic String getModel()
getModel in interface ComputerSystempublic String getSerialNumber()
getSerialNumber in interface ComputerSystempublic Firmware getFirmware()
getFirmware in interface ComputerSystemFirmware object for this systempublic Baseboard getBaseboard()
getBaseboard in interface ComputerSystemBaseboard object for this systempublic javax.json.JsonObject toJSON(Properties properties)
JsonObject. The provided
properties will be set on this object to configure the type of
information returned using this and future invocations of
OshiJsonObject.toJSON().toJSON in interface OshiJsonObjectproperties - Properties to configure returned resultsJsonObject for this class.public String toString()
toString in class AbstractOshiJsonObjectCopyright © 2010–2017 oshi. All rights reserved.