public enum LightStatus extends Enum<LightStatus>
| Enum Constant and Description |
|---|
INVALID |
OFF |
ON |
RAMP_DOWN |
RAMP_UP |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static LightStatus |
valueForString(String value) |
static LightStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LightStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightStatus ON
public static final LightStatus OFF
public static final LightStatus RAMP_UP
public static final LightStatus RAMP_DOWN
public static final LightStatus UNKNOWN
public static final LightStatus INVALID
public static LightStatus[] values()
for (LightStatus c : LightStatus.values()) System.out.println(c);
public static LightStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static LightStatus valueForString(String value)