Class TaskCompletionBuilderImpl

java.lang.Object
org.flowable.engine.impl.TaskCompletionBuilderImpl
All Implemented Interfaces:
org.flowable.task.api.TaskCompletionBuilder

public class TaskCompletionBuilderImpl extends Object implements org.flowable.task.api.TaskCompletionBuilder
Author:
Ievgenii Bespal
  • Field Details

    • commandExecutor

      protected org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor
    • taskId

      protected String taskId
    • formDefinitionId

      protected String formDefinitionId
    • outcome

      protected String outcome
    • variables

      protected Map<String,Object> variables
    • variablesLocal

      protected Map<String,Object> variablesLocal
    • transientVariables

      protected Map<String,Object> transientVariables
    • transientVariablesLocal

      protected Map<String,Object> transientVariablesLocal
  • Constructor Details

    • TaskCompletionBuilderImpl

      public TaskCompletionBuilderImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
  • Method Details

    • variables

      public org.flowable.task.api.TaskCompletionBuilder variables(Map<String,Object> variables)
      Specified by:
      variables in interface org.flowable.task.api.TaskCompletionBuilder
    • variablesLocal

      public org.flowable.task.api.TaskCompletionBuilder variablesLocal(Map<String,Object> variablesLocal)
      Specified by:
      variablesLocal in interface org.flowable.task.api.TaskCompletionBuilder
    • transientVariables

      public org.flowable.task.api.TaskCompletionBuilder transientVariables(Map<String,Object> transientVariables)
      Specified by:
      transientVariables in interface org.flowable.task.api.TaskCompletionBuilder
    • transientVariablesLocal

      public org.flowable.task.api.TaskCompletionBuilder transientVariablesLocal(Map<String,Object> transientVariablesLocal)
      Specified by:
      transientVariablesLocal in interface org.flowable.task.api.TaskCompletionBuilder
    • variable

      public org.flowable.task.api.TaskCompletionBuilder variable(String variableName, Object variableValue)
      Specified by:
      variable in interface org.flowable.task.api.TaskCompletionBuilder
    • variableLocal

      public org.flowable.task.api.TaskCompletionBuilder variableLocal(String variableName, Object variableValue)
      Specified by:
      variableLocal in interface org.flowable.task.api.TaskCompletionBuilder
    • transientVariable

      public org.flowable.task.api.TaskCompletionBuilder transientVariable(String variableName, Object variableValue)
      Specified by:
      transientVariable in interface org.flowable.task.api.TaskCompletionBuilder
    • transientVariableLocal

      public org.flowable.task.api.TaskCompletionBuilder transientVariableLocal(String variableName, Object variableValue)
      Specified by:
      transientVariableLocal in interface org.flowable.task.api.TaskCompletionBuilder
    • taskId

      public org.flowable.task.api.TaskCompletionBuilder taskId(String id)
      Specified by:
      taskId in interface org.flowable.task.api.TaskCompletionBuilder
    • formDefinitionId

      public org.flowable.task.api.TaskCompletionBuilder formDefinitionId(String formDefinitionId)
      Specified by:
      formDefinitionId in interface org.flowable.task.api.TaskCompletionBuilder
    • outcome

      public org.flowable.task.api.TaskCompletionBuilder outcome(String outcome)
      Specified by:
      outcome in interface org.flowable.task.api.TaskCompletionBuilder
    • completeTask

      protected void completeTask()
    • completeTaskWithForm

      protected void completeTaskWithForm()
    • complete

      public void complete()
      Specified by:
      complete in interface org.flowable.task.api.TaskCompletionBuilder