Enum Class DeviceHealthStatus
- All Implemented Interfaces:
Serializable,Comparable<DeviceHealthStatus>,Constable
The Enum Device Health Status.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionactiveimpaired Communicationinactiveno Sensor Datano Sensor Data Impaired CommunicationFor DeviceHealthStatus values that were not expected from the serviceunknownunknown Future Value -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceHealthStatusReturns the enum constant of this class with the specified name.static DeviceHealthStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
active -
INACTIVE
inactive -
IMPAIRED_COMMUNICATION
impaired Communication -
NO_SENSOR_DATA
no Sensor Data -
NO_SENSOR_DATA_IMPAIRED_COMMUNICATION
no Sensor Data Impaired Communication -
UNKNOWN
unknown -
UNKNOWN_FUTURE_VALUE
unknown Future Value -
UNEXPECTED_VALUE
For DeviceHealthStatus values that were not expected from the service
-
-
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
-