Interface SimulationResult


@OpenApiAll public interface SimulationResult
The SimulationResult class. Contains simulation execution information.
  • Method Details

    • getMainSession

      @CheckForNull SimulationSession getMainSession()
      Get main simulation session if not multiple execution was started.
      Returns:
      mainSession
    • getElement

      Element getElement()
      Get the executed element.
      Returns:
      element
    • getException

      @CheckForNull Exception getException()
      Get simulation exception if it occurred starting or during execution.
      Returns:
      exception
    • getOutputValues

      Map<String,Object> getOutputValues() throws Exception
      Gets simulation output values if simulation execution finished successfully. If simulation session is still running it waits for simulation execution termination.
      Returns:
      Key value map of outputs
      Throws:
      Exception - if some exception occurred by running simulation.