Class SimulationExecution
java.lang.Object
com.nomagic.magicdraw.simulation.execution.SimulationExecution
- All Implemented Interfaces:
com.nomagic.magicdraw.simulation.execution.service.ExecutionWithServiceSupport
@OpenApiAll
public abstract class SimulationExecution
extends Object
implements com.nomagic.magicdraw.simulation.execution.service.ExecutionWithServiceSupport
The SimulationExecution class.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CopyOnWriteArrayList<SimulationExecutionListener>
Simulation Execution Listener. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Add the specified simulation execution listener.void
Add all simulation execution listeners, if not already registered.abstract fUML.Semantics.Loci.LociL1.Locus
Get the executionLocus
.abstract SimulationSession
get main session.abstract SimulationOptions
get the registered SimulationExecutionListener.Deprecated.boolean
Removes the specified simulation execution listener.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.nomagic.magicdraw.simulation.execution.service.ExecutionWithServiceSupport
getProject, getServiceProvider
-
Field Details
-
simulationListeners
Simulation Execution Listener.
-
-
Constructor Details
-
SimulationExecution
public SimulationExecution()
-
-
Method Details
-
getExecutionLocus
public abstract fUML.Semantics.Loci.LociL1.Locus getExecutionLocus()Get the executionLocus
.- Returns:
Locus
-
getMainSession
get main session.- Returns:
- main session
-
addSimulationListener
Add the specified simulation execution listener.- Parameters:
listener
- the specified simulation execution listener- Returns:
- true if this listener was not already registered
-
addSimulationListeners
Add all simulation execution listeners, if not already registered.- Parameters:
listeners
- simulation execution listeners
-
removeSimulationListener
Removes the specified simulation execution listener.- Parameters:
listener
- the specified simulation execution listener- Returns:
- true if this set contained the specified element
-
getSimulationExecutionListeners
get the registered SimulationExecutionListener.- Returns:
- Set of registered SimulationExecutionListener
-
getSimulationOptions
Deprecated.renamed togetOptions()
-
getOptions
- Specified by:
getOptions
in interfacecom.nomagic.magicdraw.simulation.execution.service.ExecutionWithServiceSupport
- Returns:
- SimulationOptions of this execution
-
getOptions()