public static enum UartbusConsoleEnv.UbConsoleInquiry extends Enum<UartbusConsoleEnv.UbConsoleInquiry>
Enum Constant and Description |
---|
NEED_HELP |
NO_OP |
QUERY_ADDRESS_FROM |
QUERY_ADDRESS_TO |
SEND_PACKET |
UNKNOWN_COMMAND |
Modifier and Type | Method and Description |
---|---|
static UartbusConsoleEnv.UbConsoleInquiry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UartbusConsoleEnv.UbConsoleInquiry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UartbusConsoleEnv.UbConsoleInquiry NO_OP
public static final UartbusConsoleEnv.UbConsoleInquiry SEND_PACKET
public static final UartbusConsoleEnv.UbConsoleInquiry QUERY_ADDRESS_FROM
public static final UartbusConsoleEnv.UbConsoleInquiry QUERY_ADDRESS_TO
public static final UartbusConsoleEnv.UbConsoleInquiry NEED_HELP
public static final UartbusConsoleEnv.UbConsoleInquiry UNKNOWN_COMMAND
public static UartbusConsoleEnv.UbConsoleInquiry[] values()
for (UartbusConsoleEnv.UbConsoleInquiry c : UartbusConsoleEnv.UbConsoleInquiry.values()) System.out.println(c);
public static UartbusConsoleEnv.UbConsoleInquiry 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 nullCopyright © 2020. All rights reserved.