Package org.flowable.task.api
Interface TaskCompletionBuilder
-
public interface TaskCompletionBuilder
- Author:
- Ievgenii Bespal
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
complete()
Completes a taskTaskCompletionBuilder
formDefinitionId(String formDefinitionId)
Sets a form definition idTaskCompletionBuilder
outcome(String outcome)
Sets an outcomeTaskCompletionBuilder
taskId(String id)
Sets a task idTaskCompletionBuilder
transientVariable(String variableName, Object variableValue)
Sets a non-persisted transient variable before the task is completed.TaskCompletionBuilder
transientVariableLocal(String variableName, Object variableValue)
Sets a non-persisted transient local variable before the task is completed.TaskCompletionBuilder
transientVariables(Map<String,Object> transientVariables)
Sets a non-persisted variables before the task is completed.TaskCompletionBuilder
transientVariablesLocal(Map<String,Object> transientVariablesLocal)
Sets a non-persisted local variables before the task is completed.TaskCompletionBuilder
variable(String variableName, Object variableValue)
Sets a variable before the task is completed.TaskCompletionBuilder
variableLocal(String variableName, Object variableValue)
Sets a local variable before the task is completed.TaskCompletionBuilder
variables(Map<String,Object> variables)
Sets a variables before the task is completed.TaskCompletionBuilder
variablesLocal(Map<String,Object> variablesLocal)
Sets a local variables before the task is completed.
-
-
-
Method Detail
-
variables
TaskCompletionBuilder variables(Map<String,Object> variables)
Sets a variables before the task is completed. The variables will be stored on the plan item instance.
-
variablesLocal
TaskCompletionBuilder variablesLocal(Map<String,Object> variablesLocal)
Sets a local variables before the task is completed. The variables will be stored locally on the plan item instance.
-
transientVariables
TaskCompletionBuilder transientVariables(Map<String,Object> transientVariables)
Sets a non-persisted variables before the task is completed. The transient variables will not be persisted at the end of the database transaction.
-
transientVariablesLocal
TaskCompletionBuilder transientVariablesLocal(Map<String,Object> transientVariablesLocal)
Sets a non-persisted local variables before the task is completed. The local transient variables will not be persisted at the end of the database transaction.
-
variable
TaskCompletionBuilder variable(String variableName, Object variableValue)
Sets a variable before the task is completed. The variable will be stored on the process instance.
-
variableLocal
TaskCompletionBuilder variableLocal(String variableName, Object variableValue)
Sets a local variable before the task is completed. The local variable will be stored on the process instance.
-
transientVariable
TaskCompletionBuilder transientVariable(String variableName, Object variableValue)
Sets a non-persisted transient variable before the task is completed. The transient variable will not be persisted at the end of the database transaction.
-
transientVariableLocal
TaskCompletionBuilder transientVariableLocal(String variableName, Object variableValue)
Sets a non-persisted transient local variable before the task is completed. The transient local variable will not be persisted at the end of the database transaction.
-
taskId
TaskCompletionBuilder taskId(String id)
Sets a task id
-
formDefinitionId
TaskCompletionBuilder formDefinitionId(String formDefinitionId)
Sets a form definition id
-
outcome
TaskCompletionBuilder outcome(String outcome)
Sets an outcome
-
complete
void complete()
Completes a task
-
-