Uses of Class
oshi.hardware.PowerSource.CapacityUnits
-
Packages that use 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 Devicesoshi.hardware.common Provides abstract classes for common codeoshi.hardware.platform.linux Provides information about hardware such as Memory, Power Sources, and Processor on Linux systemsoshi.hardware.platform.mac Provides information about hardware such as Memory, Power Sources, and Processor on Mac systemsoshi.hardware.platform.unix.aix Provides information about hardware such as Memory, Power Sources, and Processor on AIX systemsoshi.hardware.platform.unix.freebsd Provides information about hardware such as Memory, Power Sources, and Processor on FreeBSD systemsoshi.hardware.platform.unix.openbsd Provides information about hardware such as Memory, Power Sources, and Processor on OpenBSD systemsoshi.hardware.platform.unix.solaris Provides information about hardware such as Memory, Power Sources, and Processor on Solaris systemsoshi.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.CapacityUnits
PowerSource. getCapacityUnits()
Reports =the units ofPowerSource.getCurrentCapacity()
,PowerSource.getMaxCapacity()
, andPowerSource.getDesignCapacity()
static PowerSource.CapacityUnits
PowerSource.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
Fields in oshi.hardware.common declared as PowerSource.CapacityUnits Modifier and Type Field Description private PowerSource.CapacityUnits
AbstractPowerSource. capacityUnits
Methods in oshi.hardware.common that return PowerSource.CapacityUnits Modifier and Type Method Description PowerSource.CapacityUnits
AbstractPowerSource. 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.openbsd
Constructors in oshi.hardware.platform.unix.openbsd with parameters of type PowerSource.CapacityUnits Constructor Description OpenBsdPowerSource(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)
-