public final class TaskContextImpl extends ExecutionContextImpl implements TaskContext
| Constructor and Description |
|---|
TaskContextImpl(Task task,
ModelProvider modelProvider)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Identifier |
getIdentifier()
Returns the identifier of this task.
|
java.lang.Object |
getParameter(java.lang.String name)
Returns a parameter by name.
|
java.util.Set<java.lang.String> |
getParameterNames()
Returns a set of the task parameter names.
|
QID |
getPathQID()
Returns the full path to this context as a QID.
|
QID |
getProcessPathQID()
Returns the full path to model element that is bound to this context.
|
com.whitestein.lsps.model.Task |
getTask()
Returns the task model element.
|
long |
getTaskId()
Returns the task instance id.
|
addExecutionTrace, addExecutionTraceElement, addSignal, createNamespace, flushAll, flushPlugins, getCompiled, getCompiled, getComponentService, getContextId, getConverter, getEvaluationLevel, getExecutionTrace, getHandle, getModelElement, getModelInstance, getModelProvider, getNamespace, getNamespaceModel, getParentContext, getPath, getProcessInstance, getProcessModel, getProcessPath, getValueHolder, modelContext, setCompiledgetStackTrace, getStackTraceInfo, getVariableValue, getVariableValue, resolveVariableNamespace, resolveVariableNamespace, setVariableValue, setVariableValue, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSignal, flushAll, getCompiled, getCompiled, getComponentService, getContextId, getConverter, getEvaluationLevel, getInLevel, getModelElement, getModelInstance, getModelProvider, getNamespace, getParentContext, getPath, getProcessInstance, getProcessModel, getProcessPath, getStackTrace, getStackTraceInfo, getVariableValue, getVariableValue, resolveVariableNamespace, resolveVariableNamespace, setCompiled, setVariableValue, setVariableValuegetHandle, getValueHolderaddExecutionTrace, addExecutionTraceElement, getExecutionTracepublic TaskContextImpl(Task task, ModelProvider modelProvider)
task - modelProvider - java.lang.NullPointerException - if task or modelProvider is nullpublic com.whitestein.lsps.model.Task getTask()
TaskContextgetTask in interface TaskContextpublic long getTaskId()
TaskContextgetTaskId in interface TaskContextpublic java.util.Set<java.lang.String> getParameterNames()
TaskContextgetParameterNames in interface TaskContextpublic java.lang.Object getParameter(java.lang.String name)
TaskContextgetParameter in interface TaskContextpublic Identifier getIdentifier()
TaskContextgetIdentifier in interface TaskContextpublic QID getPathQID()
ExecutionContextgetPathQID in interface ExecutionContextgetPathQID in class ExecutionContextImplpublic QID getProcessPathQID()
ExecutionContextgetProcessPathQID in interface ExecutionContextgetProcessPathQID in class ExecutionContextImplCopyright © 2007-2020 Whitestein Technologies. All Rights Reserved.