Package org.eclipse.m2m.qvt.oml
Interface ExecutionContext
-
- All Known Implementing Classes:
ExecutionContextImpl
public interface ExecutionContextThe 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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ObjectgetConfigProperty(String name)Get the value of the specified configuration property which was set to this context.Set<String>getConfigPropertyNames()Gets read-only view of the names of the configuration properties that are set in this contextLoggetLog()Gets the logger implementation assigned to this context.EvaluationMonitorgetMonitor()Deprecated.Use getProgressMonitor() methodorg.eclipse.core.runtime.IProgressMonitorgetProgressMonitor()Gets the evaluation monitor assigned to this context.ISessionDatagetSessionData()Returns execution specific settings like QVTEvaluationOptions.EVALUATION_MAX_STACK_DEPTHCollection<ISessionData.Entry<Object>>getSessionDataEntries()Returns all entries stored in the session data.
-
-
-
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
nullis returned in the following cases:- no property of the given name has been set
The client can distinguish the cases above by usingnullvalue has been explicitly setgetConfigPropertyNames()
-
getLog
Log getLog()
Gets the logger implementation assigned to this context.- Returns:
- the logger instance, never
null
-
getMonitor
EvaluationMonitor getMonitor()
Deprecated.Use getProgressMonitor() methodGets 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
-
getSessionDataEntries
Collection<ISessionData.Entry<Object>> getSessionDataEntries()
Returns all entries stored in the session data.- Since:
- 3.4
-
-