Uses of Class
oshi.hardware.PowerSource.CapacityUnits
| Package | Description |
|---|---|
| oshi.hardware |
[oshi-core API] Provides cross-platform implementation to retrieve hardware
information such as CPU, Memory, Display, Disks, Network Interfaces, Power
Sources, Sensors, and USB Devices
|
| oshi.hardware.common |
Provides abstract classes for common code
|
| oshi.hardware.platform.linux |
Provides information about hardware such as Memory, Power Sources, and
Processor on Linux systems
|
| oshi.hardware.platform.mac |
Provides information about hardware such as Memory, Power Sources, and
Processor on Mac systems
|
| oshi.hardware.platform.unix.aix |
Provides information about hardware such as Memory, Power Sources, and
Processor on AIX systems
|
| oshi.hardware.platform.unix.freebsd |
Provides information about hardware such as Memory, Power Sources, and
Processor on FreeBSD systems
|
| oshi.hardware.platform.unix.solaris |
Provides information about hardware such as Memory, Power Sources, and
Processor on Solaris systems
|
| oshi.hardware.platform.windows |
Provides information about hardware such as Memory, Power Sources, and
Processor on Windows systems
|
-
Uses of PowerSource.CapacityUnits in oshi.hardware
Methods in oshi.hardware that return PowerSource.CapacityUnits Modifier and Type Method Description PowerSource.CapacityUnitsPowerSource. getCapacityUnits()Reports =the units ofPowerSource.getCurrentCapacity(),PowerSource.getMaxCapacity(), andPowerSource.getDesignCapacity()static PowerSource.CapacityUnitsPowerSource.CapacityUnits. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PowerSource.CapacityUnits[]PowerSource.CapacityUnits. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of PowerSource.CapacityUnits in oshi.hardware.common
Methods in oshi.hardware.common that return PowerSource.CapacityUnits Modifier and Type Method Description PowerSource.CapacityUnitsAbstractPowerSource. getCapacityUnits()Constructors in oshi.hardware.common with parameters of type PowerSource.CapacityUnits Constructor Description AbstractPowerSource(java.lang.String name, java.lang.String deviceName, double remainingCapacityPercent, double timeRemainingEstimated, double timeRemainingInstant, double powerUsageRate, double voltage, double amperage, boolean powerOnLine, boolean charging, boolean discharging, PowerSource.CapacityUnits capacityUnits, int currentCapacity, int maxCapacity, int designCapacity, int cycleCount, java.lang.String chemistry, java.time.LocalDate manufactureDate, java.lang.String manufacturer, java.lang.String serialNumber, double temperature) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.linux
Constructors in oshi.hardware.platform.linux with parameters of type PowerSource.CapacityUnits Constructor Description LinuxPowerSource(java.lang.String psName, java.lang.String psDeviceName, double psRemainingCapacityPercent, double psTimeRemainingEstimated, double psTimeRemainingInstant, double psPowerUsageRate, double psVoltage, double psAmperage, boolean psPowerOnLine, boolean psCharging, boolean psDischarging, PowerSource.CapacityUnits psCapacityUnits, int psCurrentCapacity, int psMaxCapacity, int psDesignCapacity, int psCycleCount, java.lang.String psChemistry, java.time.LocalDate psManufactureDate, java.lang.String psManufacturer, java.lang.String psSerialNumber, double psTemperature) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.mac
Constructors in oshi.hardware.platform.mac with parameters of type PowerSource.CapacityUnits Constructor Description MacPowerSource(java.lang.String psName, java.lang.String psDeviceName, double psRemainingCapacityPercent, double psTimeRemainingEstimated, double psTimeRemainingInstant, double psPowerUsageRate, double psVoltage, double psAmperage, boolean psPowerOnLine, boolean psCharging, boolean psDischarging, PowerSource.CapacityUnits psCapacityUnits, int psCurrentCapacity, int psMaxCapacity, int psDesignCapacity, int psCycleCount, java.lang.String psChemistry, java.time.LocalDate psManufactureDate, java.lang.String psManufacturer, java.lang.String psSerialNumber, double psTemperature) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.unix.aix
Constructors in oshi.hardware.platform.unix.aix with parameters of type PowerSource.CapacityUnits Constructor Description AixPowerSource(java.lang.String name, java.lang.String deviceName, double remainingCapacityPercent, double timeRemainingEstimated, double timeRemainingInstant, double powerUsageRate, double voltage, double amperage, boolean powerOnLine, boolean charging, boolean discharging, PowerSource.CapacityUnits capacityUnits, int currentCapacity, int maxCapacity, int designCapacity, int cycleCount, java.lang.String chemistry, java.time.LocalDate manufactureDate, java.lang.String manufacturer, java.lang.String serialNumber, double temperature) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.unix.freebsd
Constructors in oshi.hardware.platform.unix.freebsd with parameters of type PowerSource.CapacityUnits Constructor Description FreeBsdPowerSource(java.lang.String psName, java.lang.String psDeviceName, double psRemainingCapacityPercent, double psTimeRemainingEstimated, double psTimeRemainingInstant, double psPowerUsageRate, double psVoltage, double psAmperage, boolean psPowerOnLine, boolean psCharging, boolean psDischarging, PowerSource.CapacityUnits psCapacityUnits, int psCurrentCapacity, int psMaxCapacity, int psDesignCapacity, int psCycleCount, java.lang.String psChemistry, java.time.LocalDate psManufactureDate, java.lang.String psManufacturer, java.lang.String psSerialNumber, double psTemperature) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.unix.solaris
Constructors in oshi.hardware.platform.unix.solaris with parameters of type PowerSource.CapacityUnits Constructor Description SolarisPowerSource(java.lang.String psName, java.lang.String psDeviceName, double psRemainingCapacityPercent, double psTimeRemainingEstimated, double psTimeRemainingInstant, double psPowerUsageRate, double psVoltage, double psAmperage, boolean psPowerOnLine, boolean psCharging, boolean psDischarging, PowerSource.CapacityUnits psCapacityUnits, int psCurrentCapacity, int psMaxCapacity, int psDesignCapacity, int psCycleCount, java.lang.String psChemistry, java.time.LocalDate psManufactureDate, java.lang.String psManufacturer, java.lang.String psSerialNumber, double psTemperature) -
Uses of PowerSource.CapacityUnits in oshi.hardware.platform.windows
Constructors in oshi.hardware.platform.windows with parameters of type PowerSource.CapacityUnits Constructor Description WindowsPowerSource(java.lang.String psName, java.lang.String psDeviceName, double psRemainingCapacityPercent, double psTimeRemainingEstimated, double psTimeRemainingInstant, double psPowerUsageRate, double psVoltage, double psAmperage, boolean psPowerOnLine, boolean psCharging, boolean psDischarging, PowerSource.CapacityUnits psCapacityUnits, int psCurrentCapacity, int psMaxCapacity, int psDesignCapacity, int psCycleCount, java.lang.String psChemistry, java.time.LocalDate psManufactureDate, java.lang.String psManufacturer, java.lang.String psSerialNumber, double psTemperature)