public class CompleteTaskWithFormCmd extends NeedsActiveTaskCmd<Void>
| Modifier and Type | Field and Description |
|---|---|
protected String |
formDefinitionId |
protected String |
outcome |
protected Map<String,Object> |
transientVariables |
protected Map<String,Object> |
transientVariablesLocal |
protected Map<String,Object> |
variables |
protected Map<String,Object> |
variablesLocal |
taskId| Constructor and Description |
|---|
CompleteTaskWithFormCmd(String taskId,
String formDefinitionId,
String outcome,
Map<String,Object> variables) |
CompleteTaskWithFormCmd(String taskId,
String formDefinitionId,
String outcome,
Map<String,Object> variables,
boolean localScope) |
CompleteTaskWithFormCmd(String taskId,
String formDefinitionId,
String outcome,
Map<String,Object> variables,
Map<String,Object> transientVariables) |
CompleteTaskWithFormCmd(String taskId,
String formDefinitionId,
String outcome,
Map<String,Object> variables,
Map<String,Object> variablesLocal,
Map<String,Object> transientVariables,
Map<String,Object> transientVariablesLocal) |
| Modifier and Type | Method and Description |
|---|---|
protected Void |
execute(CommandContext commandContext,
TaskEntity task)
Subclasses must implement in this method their normal command logic.
|
protected String |
getSuspendedTaskException()
Subclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.
|
protected boolean |
isFormFieldValidationEnabled(TaskEntity task,
ProcessEngineConfigurationImpl processEngineConfiguration,
String processDefinitionId,
String taskDefinitionKey) |
executepublic CompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, Map<String,Object> variables)
public CompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, Map<String,Object> variables, boolean localScope)
public CompleteTaskWithFormCmd(String taskId, String formDefinitionId, String outcome, Map<String,Object> variables, Map<String,Object> transientVariables)
protected Void execute(CommandContext commandContext, TaskEntity task)
NeedsActiveTaskCmdexecute in class NeedsActiveTaskCmd<Void>protected boolean isFormFieldValidationEnabled(TaskEntity task, ProcessEngineConfigurationImpl processEngineConfiguration, String processDefinitionId, String taskDefinitionKey)
protected String getSuspendedTaskException()
NeedsActiveTaskCmdgetSuspendedTaskException in class NeedsActiveTaskCmd<Void>Copyright © 2020 Flowable. All rights reserved.