Interface SimulationResult


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

      • 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
        java.lang.Exception getException()
        Get simulation exception if it occurred starting or during execution.
        Returns:
        exception
      • getOutputValues

        java.util.Map<java.lang.String,​java.lang.Object> getOutputValues()
                                                                        throws java.lang.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:
        java.lang.Exception - if some exception occurred by running simulation.