Enum Class Win32Printer.PrinterProperty
java.lang.Object
java.lang.Enum<Win32Printer.PrinterProperty>
oshi.driver.common.windows.wmi.Win32Printer.PrinterProperty
- All Implemented Interfaces:
Serializable, Comparable<Win32Printer.PrinterProperty>, Constable
- Enclosing class:
Win32Printer
Printer properties from WMI.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDEFAULT property.DESCRIPTION property.DETECTEDERRORSTATE property.DRIVERNAME property.LOCAL property.NAME property.PORTNAME property.PRINTERSTATUS property. -
Method Summary
Modifier and TypeMethodDescriptionstatic Win32Printer.PrinterPropertyReturns the enum constant of this class with the specified name.static Win32Printer.PrinterProperty[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NAME
NAME property. -
DRIVERNAME
DRIVERNAME property. -
PRINTERSTATUS
PRINTERSTATUS property. -
DETECTEDERRORSTATE
DETECTEDERRORSTATE property. -
DEFAULT
DEFAULT property. -
LOCAL
LOCAL property. -
PORTNAME
PORTNAME property. -
DESCRIPTION
DESCRIPTION property.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-