public static enum TARDISSetFlightCommand.FlightMode extends java.lang.Enum<TARDISSetFlightCommand.FlightMode>
Modifier and Type | Method and Description |
---|---|
static java.util.HashMap<java.lang.Integer,TARDISSetFlightCommand.FlightMode> |
getByMode() |
int |
getMode() |
static TARDISSetFlightCommand.FlightMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TARDISSetFlightCommand.FlightMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TARDISSetFlightCommand.FlightMode NORMAL
public static final TARDISSetFlightCommand.FlightMode REGULATOR
public static final TARDISSetFlightCommand.FlightMode MANUAL
public static TARDISSetFlightCommand.FlightMode[] values()
for (TARDISSetFlightCommand.FlightMode c : TARDISSetFlightCommand.FlightMode.values()) System.out.println(c);
public static TARDISSetFlightCommand.FlightMode 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 int getMode()
public static java.util.HashMap<java.lang.Integer,TARDISSetFlightCommand.FlightMode> getByMode()