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