public enum BlockStatus extends java.lang.Enum<BlockStatus>
| Enum Constant and Description |
|---|
BROKEN |
COMM_FAILURE |
FORCE_OCCUPIED |
FORCE_UNOCCUPIED |
IN_REPAIR |
OPERATIONAL |
POWER_FAILURE |
TRACK_CIRCUIT_FAILURE |
| Modifier and Type | Method and Description |
|---|---|
static BlockStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockStatus OPERATIONAL
public static final BlockStatus BROKEN
public static final BlockStatus IN_REPAIR
public static final BlockStatus FORCE_OCCUPIED
public static final BlockStatus FORCE_UNOCCUPIED
public static final BlockStatus COMM_FAILURE
public static final BlockStatus TRACK_CIRCUIT_FAILURE
public static final BlockStatus POWER_FAILURE
public static BlockStatus[] values()
for (BlockStatus c : BlockStatus.values()) System.out.println(c);
public static BlockStatus 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