|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskControllerHandler
Method Summary | |
---|---|
void |
initializeTaskVariables(TaskInstance taskInstance,
ContextInstance contextInstance,
Token token)
extracts all information from the process context (optionally indirect) and initializes the task instance variables. |
void |
submitTaskVariables(TaskInstance taskInstance,
ContextInstance contextInstance,
Token token)
is called when a task completes. |
Method Detail |
---|
void initializeTaskVariables(TaskInstance taskInstance, ContextInstance contextInstance, Token token)
Use VariableContainer.setVariable(String, Object)
to set variables
in the task instance and use ContextInstance.getVariable(String, Token)
to get access to the process variables.
The task instance variable can be
TaskInstance
variable is a function of other process instance
variables.
In order to create a reference to an existing process variable, insert
a VariableInstance
as a value in the returned map.
If the TaskInstance is to have copies of the process instance variables, just
insert POJO's (non-VariableInstance classes) as values for the TaskInstance variables.
void submitTaskVariables(TaskInstance taskInstance, ContextInstance contextInstance, Token token)
Use VariableContainer.getVariable(String)
to get variables from the task
instance context and use ContextInstance.setVariable(String, Object, Token)
to update the process variables.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |