public static enum EditModuleCommand.TerminationMode extends Enum<EditModuleCommand.TerminationMode>
EditModuleCommand
command when it successfully completes.Enum Constant and Description |
---|
LEAVE_OPEN
The edited module is left open and modifications are not saved.
|
SAVE
The edited module is saved but isn't closed.
|
SAVE_AND_CLOSE
The edited module is saved and closed.
|
Modifier and Type | Method and Description |
---|---|
static EditModuleCommand.TerminationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EditModuleCommand.TerminationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EditModuleCommand.TerminationMode LEAVE_OPEN
public static final EditModuleCommand.TerminationMode SAVE
public static final EditModuleCommand.TerminationMode SAVE_AND_CLOSE
public static EditModuleCommand.TerminationMode[] values()
for (EditModuleCommand.TerminationMode c : EditModuleCommand.TerminationMode.values()) System.out.println(c);
public static EditModuleCommand.TerminationMode 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 null