| 
KIE API 6.1.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProcessContext
Represents the context when executing a process.
| Method Summary | |
|---|---|
 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.  | 
| Methods inherited from interface org.kie.api.runtime.KieContext | 
|---|
getKieRuntime, getKnowledgeRuntime | 
| Method Detail | 
|---|
ProcessInstance getProcessInstance()
NodeInstance getNodeInstance()
null if no
 node instance is currently being executed.
 
- Returns:
 - the node instance that is currently being
 executed in this context
 
 
Object getVariable(String variableName)
null if the variable could
 not be found.
variableName - the name of the variable
void setVariable(String variableName,
                 Object value)
variableName - the name of the variablevalue - the value of the variable
  | 
KIE API 6.1.0.CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||