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 Details

  • Constructor Details

    • SimulationExecution

      public SimulationExecution()
  • Method Details

    • getExecutionLocus

      public abstract fUML.Semantics.Loci.LociL1.Locus getExecutionLocus()
      Get the execution Locus.
      Returns:
      Locus
    • getMainSession

      public abstract SimulationSession getMainSession()
      get main session.
      Returns:
      main session
    • addSimulationListener

      public boolean addSimulationListener(SimulationExecutionListener listener)
      Add the specified simulation execution listener.
      Parameters:
      listener - the specified simulation execution listener
      Returns:
      true if this listener was not already registered
    • addSimulationListeners

      public void addSimulationListeners(Collection<SimulationExecutionListener> listeners)
      Add all simulation execution listeners, if not already registered.
      Parameters:
      listeners - simulation execution listeners
    • removeSimulationListener

      public boolean removeSimulationListener(SimulationExecutionListener listener)
      Removes the specified simulation execution listener.
      Parameters:
      listener - the specified simulation execution listener
      Returns:
      true if this set contained the specified element
    • getSimulationExecutionListeners

      public Set<SimulationExecutionListener> getSimulationExecutionListeners()
      get the registered SimulationExecutionListener.
      Returns:
      Set of registered SimulationExecutionListener
    • getSimulationOptions

      @Deprecated public SimulationOptions getSimulationOptions()
      Deprecated.
      renamed to getOptions()
    • getOptions

      public abstract SimulationOptions getOptions()
      Specified by:
      getOptions in interface com.nomagic.magicdraw.simulation.execution.service.ExecutionWithServiceSupport
      Returns:
      SimulationOptions of this execution