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