public interface ProcessContext extends KieContext
Modifier and Type | Method and Description |
---|---|
CaseAssignment |
getCaseAssignment() |
CaseData |
getCaseData() |
NodeInstance |
getNodeInstance()
Returns the node instance that is currently being
executed in this context, or
null if no
node instance is currently being executed. |
ProcessInstance |
getProcessInstance()
Returns the process instance that is currently being
executed in this context.
|
Object |
getVariable(String variableName)
Returns the value of the variable with the given name.
|
void |
setVariable(String variableName,
Object value)
Sets the value of the variable with the given name.
|
getKieRuntime, getKnowledgeRuntime
ProcessInstance getProcessInstance()
NodeInstance getNodeInstance()
null
if no
node instance is currently being executed.Object getVariable(String variableName)
null
if the variable could
not be found.variableName
- the name of the variablevoid setVariable(String variableName, Object value)
variableName
- the name of the variablevalue
- the value of the variableCaseAssignment getCaseAssignment()
CaseData getCaseData()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.