public static enum ActuatorInterlockMonitor.ActuatorState extends java.lang.Enum<ActuatorInterlockMonitor.ActuatorState>
Enum Constant and Description |
---|
SwitchedOff |
SwitchedOffOrUnknown |
SwitchedOn |
SwitchedOnOrUnknown |
Modifier and Type | Method and Description |
---|---|
boolean |
mayBeOn() |
boolean |
mustBeKnown() |
static ActuatorInterlockMonitor.ActuatorState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActuatorInterlockMonitor.ActuatorState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActuatorInterlockMonitor.ActuatorState SwitchedOff
public static final ActuatorInterlockMonitor.ActuatorState SwitchedOn
public static final ActuatorInterlockMonitor.ActuatorState SwitchedOffOrUnknown
public static final ActuatorInterlockMonitor.ActuatorState SwitchedOnOrUnknown
public static ActuatorInterlockMonitor.ActuatorState[] values()
for (ActuatorInterlockMonitor.ActuatorState c : ActuatorInterlockMonitor.ActuatorState.values()) System.out.println(c);
public static ActuatorInterlockMonitor.ActuatorState 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 boolean mayBeOn()
public boolean mustBeKnown()