Class CompleteTaskWithFormCmd
java.lang.Object
org.flowable.cmmn.engine.impl.cmd.NeedsActiveTaskCmd<Void>
org.flowable.cmmn.engine.impl.cmd.CompleteTaskWithFormCmd
- All Implemented Interfaces:
Serializable
,Command<Void>
- Author:
- Tijs Rademakers, Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected boolean
protected String
protected String
Fields inherited from class org.flowable.cmmn.engine.impl.cmd.NeedsActiveTaskCmd
taskId
-
Constructor Summary
ConstructorsConstructorDescriptionCompleteTaskWithFormCmd
(String taskId, String formDefinitionId, String outcome, String userId, Map<String, Object> variables) CompleteTaskWithFormCmd
(String taskId, String formDefinitionId, String outcome, String userId, Map<String, Object> variables, boolean localScope) CompleteTaskWithFormCmd
(String taskId, String formDefinitionId, String outcome, String userId, Map<String, Object> variables, Map<String, Object> transientVariables) CompleteTaskWithFormCmd
(String taskId, String formDefinitionId, String outcome, String userId, Map<String, Object> variables, Map<String, Object> variablesLocal, Map<String, Object> transientVariables, Map<String, Object> transientVariablesLocal) 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) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
completeTask
(CommandContext commandContext, TaskEntity task, Map<String, Object> taskVariables) protected Void
execute
(CommandContext commandContext, TaskEntity task) Subclasses must implement in this method their normal command logic.protected String
Subclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.protected boolean
Methods inherited from class org.flowable.cmmn.engine.impl.cmd.NeedsActiveTaskCmd
execute
-
Field Details
-
formDefinitionId
-
outcome
-
userId
-
variables
-
variablesLocal
-
transientVariables
-
transientVariablesLocal
-
localScope
protected boolean localScope
-
-
Constructor Details
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
CompleteTaskWithFormCmd
-
-
Method Details
-
execute
Description copied from class:NeedsActiveTaskCmd
Subclasses must implement in this method their normal command logic. The provided task is ensured to be active.- Specified by:
execute
in classNeedsActiveTaskCmd<Void>
-
isFormFieldValidationEnabled
-
completeTask
protected void completeTask(CommandContext commandContext, TaskEntity task, Map<String, Object> taskVariables) -
getSuspendedTaskExceptionPrefix
Description copied from class:NeedsActiveTaskCmd
Subclasses can override this method to provide a customized exception message that will be thrown when the task is suspended.- Overrides:
getSuspendedTaskExceptionPrefix
in classNeedsActiveTaskCmd<Void>
-