Enum Class SimulationStatus
- All Implemented Interfaces:
Serializable
,Comparable<SimulationStatus>
,Constable
The status of a simulation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe simulation end time has been reached.A digital twin instance has requested the simulation to stop by callingSimulationController.stopSimulation()
There is no remaining work for the simulation.The simulation status is not set.The simulation is running.There was a runtime-change of simulation configuration.The user requested a stop. -
Method Summary
Modifier and TypeMethodDescriptionstatic SimulationStatus
Returns the enum constant of this class with the specified name.static SimulationStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Running
The simulation is running. -
NotSet
The simulation status is not set. -
UserRequested
The user requested a stop. -
EndTimeReached
The simulation end time has been reached. -
NoRemainingWork
There is no remaining work for the simulation. -
InstanceRequestedStop
A digital twin instance has requested the simulation to stop by callingSimulationController.stopSimulation()
-
UnexpectedChangeInConfiguration
There was a runtime-change of simulation configuration.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-