Class Context
- java.lang.Object
-
- org.eclipse.m2m.internal.qvt.oml.library.Context
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContext.SessionDataImpl
-
Constructor Summary
Constructors Constructor Description Context()Context(ExecutionContext context)Context(ExecutionContext executionContext, org.eclipse.core.runtime.IProgressMonitor monitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Map<String,Object>getConfigProperties()ObjectgetConfigProperty(String name)LoggetLog()Retrieve the logger associated with this context.EvaluationMonitorgetMonitor()Deprecated.Use getProgressMonitor() methodorg.eclipse.core.runtime.IProgressMonitorgetProgressMonitor()Retrieve the monitor associated with this context.ISessionDatagetSessionData()TracegetTrace()Retrieve the Trace object used for incremental update execution associated with this context.voidsetConfigProperty(String name, Object value)voidsetLog(Log log)voidsetProgressMonitor(org.eclipse.core.runtime.IProgressMonitor monitor)voidsetSessionData(ISessionData sessionData)
-
-
-
Constructor Detail
-
Context
public Context()
-
Context
public Context(ExecutionContext 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:IContextRetrieve the monitor associated with this context.It can be used to interrupt execution from another thread than the execution thread.
- Specified by:
getProgressMonitorin interfaceIContext- Returns:
- the monitor object, never
null
-
getMonitor
public EvaluationMonitor getMonitor()
Deprecated.Use getProgressMonitor() method- Specified by:
getMonitorin interfaceIContext
-
setLog
public void setLog(Log log)
-
getLog
public Log getLog()
Description copied from interface:IContextRetrieve the logger associated with this context.It is used to capture the output of QVT
log expressionor various execution diagnostic messages.
-
getTrace
public Trace getTrace()
Description copied from interface:IContextRetrieve the Trace object used for incremental update execution associated with this context.
-
setSessionData
public void setSessionData(ISessionData sessionData)
-
getSessionData
public ISessionData getSessionData()
- Specified by:
getSessionDatain interfaceIContext
-
getConfigProperties
public Map<String,Object> getConfigProperties()
- Specified by:
getConfigPropertiesin interfaceIContext
-
getConfigProperty
public Object getConfigProperty(String name)
- Specified by:
getConfigPropertyin interfaceIContext
-
-