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