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
FieldsModifier and TypeFieldDescriptionprotected final CopyOnWriteArrayList<SimulationExecutionListener>Simulation Execution Listener. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd the specified simulation execution listener.voidAdd all simulation execution listeners, if not already registered.abstract fUML.Semantics.Loci.LociL1.LocusGet the executionLocus.abstract SimulationSessionget main session.abstract SimulationOptionsget the registered SimulationExecutionListener.Deprecated.booleanRemoves the specified simulation execution listener.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getOptionsin interfacecom.nomagic.magicdraw.simulation.execution.service.ExecutionWithServiceSupport- Returns:
- SimulationOptions of this execution
-
getOptions()