public enum SimulationResult extends Enum<SimulationResult>
Enum Constant and Description |
---|
ERROR
Simulation caused an error most likely by raising an exception
|
OK
Simulation terminated successfully
|
Modifier and Type | Method and Description |
---|---|
static SimulationResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimulationResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimulationResult ERROR
public static final SimulationResult OK
public static SimulationResult[] values()
for (SimulationResult c : SimulationResult.values()) System.out.println(c);
public static SimulationResult 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