public static enum ConnectionInfo.ConnectionType extends Enum<ConnectionInfo.ConnectionType>
Enum Constant and Description |
---|
DEBUG_TEST
Represents a connection type that should be ignored, strictly for testing.
|
ZIGBEE_UART
Represents a UART connection to a zigbee module.
|
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static ConnectionInfo.ConnectionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionInfo.ConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionInfo.ConnectionType ZIGBEE_UART
public static final ConnectionInfo.ConnectionType DEBUG_TEST
public static ConnectionInfo.ConnectionType[] values()
for (ConnectionInfo.ConnectionType c : ConnectionInfo.ConnectionType.values()) System.out.println(c);
public static ConnectionInfo.ConnectionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
Copyright © 2019. All rights reserved.