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.
|
Object |
getParameter(String name)
Returns a parameter by name.
|
Set<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, setCompiled
getStackTrace, getStackTraceInfo, getVariableValue, getVariableValue, resolveVariableNamespace, resolveVariableNamespace, setVariableValue, setVariableValue, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSignal, 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, setVariableValue
getHandle, getValueHolder
addExecutionTrace, addExecutionTraceElement, getExecutionTrace
public TaskContextImpl(Task task, ModelProvider modelProvider)
task
- modelProvider
- NullPointerException
- if task
or modelProvider
is nullpublic com.whitestein.lsps.model.Task getTask()
TaskContext
getTask
in interface TaskContext
public long getTaskId()
TaskContext
getTaskId
in interface TaskContext
public Set<String> getParameterNames()
TaskContext
getParameterNames
in interface TaskContext
public Object getParameter(String name)
TaskContext
getParameter
in interface TaskContext
public Identifier getIdentifier()
TaskContext
getIdentifier
in interface TaskContext
public QID getPathQID()
ExecutionContext
getPathQID
in interface ExecutionContext
getPathQID
in class ExecutionContextImpl
public QID getProcessPathQID()
ExecutionContext
getProcessPathQID
in interface ExecutionContext
getProcessPathQID
in class ExecutionContextImpl
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.