public static enum ShellyPlug.ChannelId extends java.lang.Enum<ShellyPlug.ChannelId> implements ChannelId
Enum Constant and Description |
---|
ACTIVE_POWER
Active Power.
|
DEBUG_RELAY
Holds writes to Relay Output for debugging.
|
RELAY
Relay Output.
|
SLAVE_COMMUNICATION_FAILED
Slave Communication Failed Fault.
|
Modifier and Type | Method and Description |
---|---|
Doc |
doc()
Gets the Channel Doc for this ChannelId.
|
static ShellyPlug.ChannelId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShellyPlug.ChannelId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
channelIdUpperToCamel, id, name
public static final ShellyPlug.ChannelId DEBUG_RELAY
public static final ShellyPlug.ChannelId RELAY
public static final ShellyPlug.ChannelId ACTIVE_POWER
public static final ShellyPlug.ChannelId SLAVE_COMMUNICATION_FAILED
public static ShellyPlug.ChannelId[] values()
for (ShellyPlug.ChannelId c : ShellyPlug.ChannelId.values()) System.out.println(c);
public static ShellyPlug.ChannelId 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