public final class ExecutionContextImpl extends Object implements ExecutionContext
TransformationExecutor| Constructor and Description |
|---|
ExecutionContextImpl()
Constructs a default context for execution.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getConfigProperty(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 context
|
Log |
getLog()
Gets the logger implementation assigned to this context.
|
EvaluationMonitor |
getMonitor()
Gets the evaluation monitor assigned to this context.
|
IProgressMonitor |
getProgressMonitor()
Gets the evaluation monitor assigned to this context.
|
ISessionData |
getSessionData()
Returns execution specific settings like QVTEvaluationOptions.EVALUATION_MAX_STACK_DEPTH
|
Collection<ISessionData.Entry<Object>> |
getSessionDataEntries()
Returns all entries stored in the session data.
|
void |
setConfigProperty(String name,
Object value)
Sets the value object for the given configuration property
|
void |
setLog(Log log)
Sets the log implementation to this context.
|
void |
setMonitor(EvaluationMonitor monitor)
Deprecated.
|
void |
setProgressMonitor(IProgressMonitor monitor)
Set evaluation monitor to this context
|
public ExecutionContextImpl()
public Object getConfigProperty(String name)
ExecutionContextgetConfigProperty in interface ExecutionContextname - the name of the configuration propertynull is returned in the following
cases: null value has been explicitly setExecutionContext.getConfigPropertyNames()public void setConfigProperty(String name, Object value)
name - the name of the property, never nullvalue - the value objectpublic Set<String> getConfigPropertyNames()
ExecutionContextgetConfigPropertyNames in interface ExecutionContextpublic void setLog(Log log)
log - the log implementation, never nullpublic Log getLog()
ExecutionContextgetLog in interface ExecutionContextnullpublic EvaluationMonitor getMonitor()
ExecutionContextgetMonitor in interface ExecutionContextnullpublic IProgressMonitor getProgressMonitor()
ExecutionContextgetProgressMonitor in interface ExecutionContextnullpublic void setMonitor(EvaluationMonitor monitor)
monitor - the monitor implementation, never nullpublic void setProgressMonitor(IProgressMonitor monitor)
monitor - the monitor implementation, never nullpublic ISessionData getSessionData()
ExecutionContextgetSessionData in interface ExecutionContextpublic Collection<ISessionData.Entry<Object>> getSessionDataEntries()
ExecutionContextgetSessionDataEntries in interface ExecutionContextCopyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.