Package org.flowable.engine.impl.cmd
Class CompleteTaskCmd
- All Implemented Interfaces:
Serializable
,Command<Void>
- Author:
- Joram Barrez
- See Also:
-
Field Summary
FieldsFields inherited from class org.flowable.engine.impl.cmd.NeedsActiveTaskCmd
taskId
-
Constructor Summary
ConstructorsConstructorDescriptionCompleteTaskCmd
(String taskId, String userId, Map<String, Object> variables, Map<String, Object> transientVariables) CompleteTaskCmd
(String taskId, String userId, Map<String, Object> variables, Map<String, Object> variablesLocal, Map<String, Object> transientVariables, Map<String, Object> transientVariablesLocal) CompleteTaskCmd
(String taskId, Map<String, Object> variables) CompleteTaskCmd
(String taskId, Map<String, Object> variables, boolean localScope) CompleteTaskCmd
(String taskId, Map<String, Object> variables, Map<String, Object> variablesLocal, Map<String, Object> transientVariables, Map<String, Object> transientVariablesLocal) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.Methods inherited from class org.flowable.engine.impl.cmd.NeedsActiveTaskCmd
execute
-
Field Details
-
userId
-
variables
-
variablesLocal
-
transientVariables
-
transientVariablesLocal
-
-
Constructor Details
-
CompleteTaskCmd
-
CompleteTaskCmd
-
CompleteTaskCmd
-
CompleteTaskCmd
-
CompleteTaskCmd
-
CompleteTaskCmd
-
CompleteTaskCmd
-
CompleteTaskCmd
-
-
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>
-
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>
-