public enum Command extends Enum<Command>
Enum Constant and Description |
---|
CLOSE |
DATA |
DELETE |
DISPLAY |
DROP |
END |
EXPAND |
FIX |
INCLUDE |
LET |
MAXIMIZE |
MINIMIZE |
MODEL |
OBJECTIVE |
OPTION |
PRINT |
PRINTF |
QUIT |
READ |
RESET |
RESET_DATA |
RESTORE |
SHELL |
SHOW |
SOLUTION |
SOLVE |
SUBJECT_TO |
UNFIX |
UPDATE |
UPDATE_DATA |
VAR |
WRITE |
XREF |
Modifier and Type | Method and Description |
---|---|
Message |
toMessage() |
Message |
toMessage(String anArg) |
String |
toString() |
static Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command MINIMIZE
public static final Command MAXIMIZE
public static final Command CLOSE
public static final Command DATA
public static final Command DELETE
public static final Command DISPLAY
public static final Command DROP
public static final Command END
public static final Command EXPAND
public static final Command FIX
public static final Command INCLUDE
public static final Command LET
public static final Command MODEL
public static final Command OBJECTIVE
public static final Command OPTION
public static final Command PRINT
public static final Command PRINTF
public static final Command QUIT
public static final Command READ
public static final Command RESET
public static final Command RESET_DATA
public static final Command RESTORE
public static final Command SHELL
public static final Command SHOW
public static final Command SOLUTION
public static final Command SOLVE
public static final Command SUBJECT_TO
public static final Command UNFIX
public static final Command UPDATE
public static final Command UPDATE_DATA
public static final Command VAR
public static final Command WRITE
public static final Command XREF
public static Command[] values()
for (Command c : Command.values()) System.out.println(c);
public static Command 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 nullpublic Message toMessage()