org.openmuc.framework.dataaccess
public enum DeviceState extends java.lang.Enum<DeviceState>
Enum Constant and Description |
---|
CONNECTED |
CONNECTING |
DELETED |
DISABLED |
DISCONNECTING |
DRIVER_UNAVAILABLE |
READING |
SCANNING_FOR_CHANNELS |
STARTING_TO_LISTEN |
WAITING_FOR_CONNECTION_RETRY |
WRITING |
Modifier and Type | Method and Description |
---|---|
static DeviceState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceState READING
public static final DeviceState WRITING
public static final DeviceState STARTING_TO_LISTEN
public static final DeviceState SCANNING_FOR_CHANNELS
public static final DeviceState CONNECTED
public static final DeviceState CONNECTING
public static final DeviceState WAITING_FOR_CONNECTION_RETRY
public static final DeviceState DISCONNECTING
public static final DeviceState DRIVER_UNAVAILABLE
public static final DeviceState DISABLED
public static final DeviceState DELETED
public static DeviceState[] values()
for (DeviceState c : DeviceState.values()) System.out.println(c);
public static DeviceState 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