Package jasima.core.simulation
Enum Simulation.SimExecState
- java.lang.Object
-
- java.lang.Enum<Simulation.SimExecState>
-
- jasima.core.simulation.Simulation.SimExecState
-
- All Implemented Interfaces:
Serializable,Comparable<Simulation.SimExecState>
- Enclosing class:
- Simulation
public static enum Simulation.SimExecState extends Enum<Simulation.SimExecState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEFORE_RUNERRORFINISHEDINITINITIALPAUSEDRUNNINGTERMINATING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Simulation.SimExecStatevalueOf(String name)Returns the enum constant of this type with the specified name.static Simulation.SimExecState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIAL
public static final Simulation.SimExecState INITIAL
-
INIT
public static final Simulation.SimExecState INIT
-
BEFORE_RUN
public static final Simulation.SimExecState BEFORE_RUN
-
RUNNING
public static final Simulation.SimExecState RUNNING
-
PAUSED
public static final Simulation.SimExecState PAUSED
-
TERMINATING
public static final Simulation.SimExecState TERMINATING
-
FINISHED
public static final Simulation.SimExecState FINISHED
-
ERROR
public static final Simulation.SimExecState ERROR
-
-
Method Detail
-
values
public static Simulation.SimExecState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Simulation.SimExecState c : Simulation.SimExecState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Simulation.SimExecState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-