public static enum HardwareDeviceHealth.HealthStatus extends java.lang.Enum<HardwareDeviceHealth.HealthStatus>
Enum Constant and Description |
---|
CLOSED |
HEALTHY
The device appears to be operating successfully
|
UNHEALTHY
Experiencing problems of an unspecified nature
|
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static HardwareDeviceHealth.HealthStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HardwareDeviceHealth.HealthStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HardwareDeviceHealth.HealthStatus UNKNOWN
public static final HardwareDeviceHealth.HealthStatus HEALTHY
public static final HardwareDeviceHealth.HealthStatus UNHEALTHY
public static final HardwareDeviceHealth.HealthStatus CLOSED
public static HardwareDeviceHealth.HealthStatus[] values()
for (HardwareDeviceHealth.HealthStatus c : HardwareDeviceHealth.HealthStatus.values()) System.out.println(c);
public static HardwareDeviceHealth.HealthStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null