Class Context

  • All Implemented Interfaces:
    IContext

    public class Context
    extends Object
    implements IContext
    Interface is not intended to be extended by clients.
    • Constructor Detail

      • Context

        public Context()
      • Context

        public Context​(ExecutionContext executionContext,
                       org.eclipse.core.runtime.IProgressMonitor monitor)
    • Method Detail

      • setProgressMonitor

        public void setProgressMonitor​(org.eclipse.core.runtime.IProgressMonitor monitor)
      • getProgressMonitor

        public org.eclipse.core.runtime.IProgressMonitor getProgressMonitor()
        Description copied from interface: IContext
        Retrieve the monitor associated with this context.

        It can be used to interrupt execution from another thread than the execution thread.

        Specified by:
        getProgressMonitor in interface IContext
        Returns:
        the monitor object, never null
      • setLog

        public void setLog​(Log log)
      • getLog

        public Log getLog()
        Description copied from interface: IContext
        Retrieve the logger associated with this context.

        It is used to capture the output of QVT log expression or various execution diagnostic messages.

        Specified by:
        getLog in interface IContext
        Returns:
        the log object, never null
      • getTrace

        public Trace getTrace()
        Description copied from interface: IContext
        Retrieve the Trace object used for incremental update execution associated with this context.
        Specified by:
        getTrace in interface IContext
        Returns:
        the trace object, never null
      • setSessionData

        public void setSessionData​(ISessionData sessionData)
      • setConfigProperty

        public void setConfigProperty​(String name,
                                      Object value)