public static enum DeviceKey.Type extends java.lang.Enum<DeviceKey.Type>
Enum Constant and Description |
---|
COMMUNITY_NAME |
SSL_KEY |
USERNAME_PASSWORD |
Modifier and Type | Method and Description |
---|---|
static DeviceKey.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceKey.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceKey.Type COMMUNITY_NAME
public static final DeviceKey.Type USERNAME_PASSWORD
public static final DeviceKey.Type SSL_KEY
public static DeviceKey.Type[] values()
for (DeviceKey.Type c : DeviceKey.Type.values()) System.out.println(c);
public static DeviceKey.Type 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