Interface ExecutionContext

  • All Known Implementing Classes:
    ExecutionContextImpl

    public interface ExecutionContext
    The execution context interface groups the details needed by the execution engine to execute a transformation.
    Since:
    2.0
    Interface is not intended to be implemented by clients.
    This interface is not intended to be implemented by clients.
    • Method Detail

      • getConfigPropertyNames

        Set<String> getConfigPropertyNames()
        Gets read-only view of the names of the configuration properties that are set in this context
        Returns:
        set of the name strings in undefined order
      • getConfigProperty

        Object getConfigProperty​(String name)
        Get the value of the specified configuration property which was set to this context.
        Parameters:
        name - the name of the configuration property
        Returns:
        the value assigned to the queried property. Remark:
        It's possible that null is returned in the following cases:
      • no property of the given name has been set
      • null value has been explicitly set

      • The client can distinguish the cases above by using getConfigPropertyNames()
      • getLog

        Log getLog()
        Gets the logger implementation assigned to this context.
        Returns:
        the logger instance, never null
      • getMonitor

        EvaluationMonitor getMonitor()
        Deprecated.
        Use getProgressMonitor() method
        Gets the evaluation monitor assigned to this context. The execution engine will query the monitor the check for the user interruption request.
        Returns:
        the monitor implementation, never null
      • getProgressMonitor

        org.eclipse.core.runtime.IProgressMonitor getProgressMonitor()
        Gets the evaluation monitor assigned to this context. The execution engine will query the monitor the check for the user interruption request.
        Returns:
        the monitor implementation, never null
        Since:
        3.4
      • getSessionData

        ISessionData getSessionData()
        Returns execution specific settings like QVTEvaluationOptions.EVALUATION_MAX_STACK_DEPTH
        Since:
        3.4