public static enum CapabilityLevel.CommandId extends java.lang.Enum<CapabilityLevel.CommandId> implements Capability.CommandId
CapabilityLevel.| Enum Constant and Description |
|---|
FETCH_LEVEL |
SET_LEVEL |
SET_LEVEL_WITH_ON_OFF |
| Modifier and Type | Method and Description |
|---|---|
static CapabilityLevel.CommandId |
getEnum(int index) |
int |
getInt() |
static CapabilityLevel.CommandId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapabilityLevel.CommandId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapabilityLevel.CommandId SET_LEVEL
public static final CapabilityLevel.CommandId SET_LEVEL_WITH_ON_OFF
public static final CapabilityLevel.CommandId FETCH_LEVEL
public static CapabilityLevel.CommandId[] values()
for (CapabilityLevel.CommandId c : CapabilityLevel.CommandId.values()) System.out.println(c);
public static CapabilityLevel.CommandId 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 nullpublic static CapabilityLevel.CommandId getEnum(int index)
public int getInt()
getInt in interface CommandIdInterface